private void loadSingleText(TezTranslator translator, string path) { foreach (var item in this.getLanguageFromYourDatabase(path)) { translator.loadSingle(item.Key, item.Value); } }
private void loadSingleText(TezTranslator translator, string language) { TezTranslator.beginLoad(language); foreach (var item in this.getLanguageFromYourDatabase(language)) { translator.loadSingle(item.Key, item.Value); } TezTranslator.endLoad(language); }