/// <summary>
 /// Loads a language based on the Path.
 /// </summary>
 /// <param name="path">The Filepath.</param>
 public void LoadLanguage(string path)
 {
     try
     {
         _languages.Add(LanguageSerializer.Deserialize(path));
     }
     catch (Exception)
     {
         throw new LanguageSerializationException("Error while deserializing " + path);
     }
 }
 /// <summary>
 /// Loads a languages in the given Directory.
 /// </summary>
 /// <param name="directoryPath">The DirectoryPath.</param>
 public void LoadLanguagesFromDirectory(string directoryPath)
 {
     string[] files = Directory.GetFiles(directoryPath);
     foreach (string file in files)
     {
         try
         {
             _languages.Add(LanguageSerializer.Deserialize(file));
         }
         catch (Exception)
         {
             _logger.Warn("Error while deserializing {0}.", file);
         }
     }
 }