Ejemplo n.º 1
0
        private void _readFiles(string[] files)
        {
            foreach (var path in files)
            {
                var table = File.ReadAllLines(path);
                Dictionary <string, string> tempTable = new Dictionary <string, string>();

                for (var i = 1; i < table.Length; i++)
                {
                    var csv = table[i].Split('\t');
                    tempTable.Add(csv[0], csv[1]);
                }

                I18NManager.AddLanguageTable(table[0], tempTable);
            }
        }