public Retriever() { localization = GetText.Parse(Path.Combine(".", "gettext", "es_ES.po"), Encoding.GetEncoding("iso8859-1")); localizationIndex = localization.GetIndex("es_ES"); Catalog.Init("catalog", "./gettext"); }
public void Parse() { string testPath = Path.Combine(".", "gettext", "es_ES.po"); Core.Localization localization = GetText.Parse(testPath, Encoding.GetEncoding("iso8859-1")); DateTime start = DateTime.UtcNow; Dictionary <string, string> indexed = localization.GetIndex("es_ES"); DateTime end = DateTime.UtcNow; TimeSpan elapsed = end - start; }
public Core.Localization ParseGetText() => GetText.Parse(Path.Combine(".", "gettext", "es_ES.po"), Encoding.GetEncoding("iso8859-1"));
public Index() { localization = GetText.Parse(Path.Combine(".", "gettext", "es_ES.po"), Encoding.GetEncoding("iso8859-1")); }