/// <summary> Get a text by its key name - using the currently set language in "lang". Do not specify the language in the key here. </summary>
        public static string GetText(string key, string _lang)
        {
            key = key.Replace("{", "");
            key = key.Replace("}", "");
            string keyLang = key + "." + _lang;

            if (dict.ContainsKey(keyLang))
            {
                return(FormatText(dict[keyLang]));
            }
            else
            {
                if (textFile != null)
                {
                    string r = textFile.ReadValue("text", keyLang);
                    if (r == null || r.Length == 0)
                    {
                        string keyAltLang = key + "." + altLang;
                        if (dict.ContainsKey(keyAltLang))
                        {
                            return(FormatText(dict[keyAltLang]));
                        }
                        else
                        {
                            r = textFile.ReadValue("text", keyAltLang);
                            if (r == null || r.Length == 0)
                            {
                                return("_[" + keyLang + "]");
                            }
                        }
                    }

                    return(FormatText(r));
                }
            }
            return("_[" + keyLang + "]");
        }