public void SwitchLocal(LanguageCountryEnum code) { country = code; string prefix = GetPrefixPath(true); _popupwinDic = ReadLocalFile(prefix + "popupwin"); _exceptionDic = ReadLocalFile(prefix + "exception"); }
public void SwitchLocal(LanguageCountryEnum code) { country = code; string prefix = GetPrefixPath(true); _popupwinDic = ReadLocalFile(prefix + "popupwin"); _exceptionDic = ReadLocalFile(prefix + "exception"); _itemDic = ReadLocalFile(prefix + "prop"); _familyNames = ReadLocalLines(prefix + "name_family"); _boyNames = ReadLocalLines(prefix + "name_boy"); _girlNames = ReadLocalLines(prefix + "name_girl"); _sensitiveWords = ReadLocalLines(prefix + "sensitive"); }