Ejemplo n.º 1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Adds the available languages from localizations of the biblical terms file.
 /// </summary>
 /// ------------------------------------------------------------------------------------
 private void AddAvailableLangsFromKeyTermsLocalizations()
 {
     foreach (string file in FwDirectoryFinder.KeyTermsLocalizationFiles)
     {
         if (!String.IsNullOrEmpty(file))
         {
             AddLanguage(FwDirectoryFinder.GetLocaleFromKeyTermsLocFile(file));
         }
     }
 }
Ejemplo n.º 2
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Gets the ws from loc file.
 /// </summary>
 /// <param name="wsf">The Writing System factory.</param>
 /// <param name="localizationFile">The localization file path.</param>
 /// <returns>The HVO of the writing system</returns>
 /// ------------------------------------------------------------------------------------
 public static int GetWsFromLocFile(ILgWritingSystemFactory wsf, string localizationFile)
 {
     return(wsf.GetWsFromStr(FwDirectoryFinder.GetLocaleFromKeyTermsLocFile(localizationFile)));
 }