private static void UpdateDictionaries() { localisedEN = csvLoader.GetDictionaryValues("en"); localisedRU = csvLoader.GetDictionaryValues("ru"); localisedFR = csvLoader.GetDictionaryValues("fr"); localisedGE = csvLoader.GetDictionaryValues("ge"); }
public static void Init() { if (Enum.IsDefined(typeof(Language), (Language)Enum.Parse(typeof(Language), Application.systemLanguage.ToString()))) { language = (Language)Enum.Parse(typeof(Language), Application.systemLanguage.ToString()); } else { language = Language.English; } CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localisedEN = csvLoader.GetDictionaryValues("en"); localisedFR = csvLoader.GetDictionaryValues("fr"); localisedES = csvLoader.GetDictionaryValues("es"); localisedRU = csvLoader.GetDictionaryValues("ru"); localisedJA = csvLoader.GetDictionaryValues("ja"); localisedKO = csvLoader.GetDictionaryValues("ko"); localisedZH = csvLoader.GetDictionaryValues("zh"); localisedIT = csvLoader.GetDictionaryValues("it"); localisedDE = csvLoader.GetDictionaryValues("de"); isInit = true; }
public static void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localizedPT = csvLoader.GetDictionaryValues("pt-br"); localizedEN = csvLoader.GetDictionaryValues("en-us"); isInit = true; }
public static void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localizedEN = csvLoader.GetDictionaryValues("en"); localizedSP = csvLoader.GetDictionaryValues("sp"); isInit = true; }
public static void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); //reading the data from csv file, and assingning the data to the dictionaries localizedEN = csvLoader.GetDictionaryValues("en"); localizedHU = csvLoader.GetDictionaryValues("hu"); //values loaded isInit = true; }
public void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localisedEN = csvLoader.GetDictionaryValues("en"); localisedFR = csvLoader.GetDictionaryValues("fr"); localisedDev = csvLoader.GetDictionaryValues("dev"); isInit = true; }
public static void init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localisedEN = csvLoader.GetDictionaryValues("en"); localisedEE = csvLoader.GetDictionaryValues("ee"); localisedSE = csvLoader.GetDictionaryValues("se"); localisedNL = csvLoader.GetDictionaryValues("nl"); localisedJP = csvLoader.GetDictionaryValues("jp"); isInit = true; }
public static void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localisedEN = csvLoader.GetDictionaryValues("en"); localisedRU = csvLoader.GetDictionaryValues("ru"); localisedCH = csvLoader.GetDictionaryValues("ch"); localisedDE = csvLoader.GetDictionaryValues("de"); localisedFR = csvLoader.GetDictionaryValues("fr"); isInit = true; }
// Start is called before the first frame update //void Start() { } //Init public static void Init() { //Initialize CSV CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); //Organize Translation Options localizedEN = csvLoader.GetDictionaryValues("en"); localizedES = csvLoader.GetDictionaryValues("es"); //Verify Values Loaded isInit = true; }
public static void UpdateDictionaries() { localisedBR = csvLoader.GetDictionaryValues("pt"); localisedEN = csvLoader.GetDictionaryValues("en"); localisedES = csvLoader.GetDictionaryValues("es"); localisedJA = csvLoader.GetDictionaryValues("ja"); localisedZHCN = csvLoader.GetDictionaryValues("zh-CN"); localisedKO = csvLoader.GetDictionaryValues("ko"); localisedIT = csvLoader.GetDictionaryValues("it"); localisedRU = csvLoader.GetDictionaryValues("ru"); localisedTH = csvLoader.GetDictionaryValues("th"); }
public static void Init() { CSVLoader loader = new CSVLoader(); loader.LoadCSV(); NamesLoader nLoader = new NamesLoader(); nLoader.LoadCSV(); localizedNamesENG = nLoader.GetNames(Language.English); localizedNamesRUS = nLoader.GetNames(Language.Russian); localizedENG = loader.GetDictionaryValues("eng"); localizedRUS = loader.GetDictionaryValues("rus"); isInit = true; }
public static void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localisedENG = csvLoader.GetDictionaryValues("eng"); localisedGER = csvLoader.GetDictionaryValues("ger"); if (!PlayerPrefs.HasKey("Language")) { PlayerPrefs.SetString("Language", "English"); } language = (Language)Enum.Parse(typeof(Language), PlayerPrefs.GetString("Language")); isInit = true; }
public static void UpdateDictionaries() { localisedEN_US = csvLoader.GetDictionaryValues("en_us"); localisedEN_UK = csvLoader.GetDictionaryValues("en_uk"); localisedES = csvLoader.GetDictionaryValues("es"); localisedDE = csvLoader.GetDictionaryValues("de"); localisedFR = csvLoader.GetDictionaryValues("fr"); localisedJA = csvLoader.GetDictionaryValues("ja"); localisedKO = csvLoader.GetDictionaryValues("ko"); }
public static void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localisedEN = csvLoader.GetDictionaryValues("en"); localisedTR = csvLoader.GetDictionaryValues("tr"); localisedDE = csvLoader.GetDictionaryValues("de"); localisedES = csvLoader.GetDictionaryValues("es"); localisedFR = csvLoader.GetDictionaryValues("fr"); localisedNL = csvLoader.GetDictionaryValues("nl"); isInit = true; }
public static void UpdateDictionaries() { localisedEN = csvLoader.GetDictionaryValues("en"); localisedHK = csvLoader.GetDictionaryValues("zh-hk"); }
public static void UpdateDictionaries() { LocalizedFarsiTexts = csvLoader.GetDictionaryValues("farsi"); LocalizedEnglishTexts = csvLoader.GetDictionaryValues("english"); }
public static void UpdateDictionary() { localisedEN = csvLoader.GetDictionaryValues("en"); localisedCHI = csvLoader.GetDictionaryValues("chi"); }
//! Must update if adding new languages public static void UpdateDictionaries() //Update localized dictionaries { localizedEN = csvLoader.GetDictionaryValues("en"); localizedFR = csvLoader.GetDictionaryValues("fr"); }
//public static CSVLoader csvLoader; public static void Init() { CSVLoader csvLoader = new CSVLoader(); csvLoader.LoadCSV(); localised_English = csvLoader.GetDictionaryValues("English"); localised_French = csvLoader.GetDictionaryValues("French"); localised_Russian = csvLoader.GetDictionaryValues("Russian"); localised_Japanese = csvLoader.GetDictionaryValues("Japanese"); localised_Italian = csvLoader.GetDictionaryValues("Italian"); localised_Spanish = csvLoader.GetDictionaryValues("Spanish"); localised_Arab = csvLoader.GetDictionaryValues("Arab"); localised_Vietnamese = csvLoader.GetDictionaryValues("Vietnamese"); localised_Danish = csvLoader.GetDictionaryValues("Danish"); localised_Chinese_trad = csvLoader.GetDictionaryValues("Chinese_trad"); localised_Korean = csvLoader.GetDictionaryValues("Korean"); localised_Norwegian = csvLoader.GetDictionaryValues("Norwegian"); localised_Portuguese = csvLoader.GetDictionaryValues("Portuguese"); localised_Turkish = csvLoader.GetDictionaryValues("Turkish"); localised_Finnish = csvLoader.GetDictionaryValues("Finnish"); localised_Swedish = csvLoader.GetDictionaryValues("Swedish"); localised_German = csvLoader.GetDictionaryValues("German"); localised_Bulgarian = csvLoader.GetDictionaryValues("Bulgarian"); localised_Hungarian = csvLoader.GetDictionaryValues("Hungarian"); localised_Greek = csvLoader.GetDictionaryValues("Greek"); localised_Chinese_simpl = csvLoader.GetDictionaryValues("Chinese_simpl"); localised_Dutch = csvLoader.GetDictionaryValues("Dutch"); localised_Polish = csvLoader.GetDictionaryValues("Polish"); localised_Romanian = csvLoader.GetDictionaryValues("Romanian"); localised_Thai = csvLoader.GetDictionaryValues("Thai"); localised_Ukrainian = csvLoader.GetDictionaryValues("Ukrainian"); localised_Czech = csvLoader.GetDictionaryValues("Czech"); isInit = true; }
public static void UpdateDictionaries() { localizedEN = csvLoader.GetDictionaryValues("en"); localizedES = csvLoader.GetDictionaryValues("es"); localizedGE = csvLoader.GetDictionaryValues("de"); }