public static void loadData() { lan = LanguageConverter.convertLan(Application.systemLanguage.ToString().ToLower()); xmlData = new XmlDocument(); TextAsset textAsset = Resources.Load("Translation/MainScreen") as TextAsset; xmlData.LoadXml(textAsset.text); }