示例#1
0
文件: Index.cs 项目: Hua777/Voicemith
        private void ChangeLang(string tag)
        {
            switch (tag)
            {
            case "繁體中文":
                Language.Apply(this, "zh-tw");
                Language.Apply(PListEditor, "zh-tw");
                break;

            case "简体中文":
                Language.Apply(this, "zh-cn");
                Language.Apply(PListEditor, "zh-cn");
                break;

            case "日文":
                Language.Apply(this, "ja-jp");
                Language.Apply(PListEditor, "ja-jp");
                break;

            default:
                Language.Apply(this, "en-us");
                Language.Apply(PListEditor, "en-us");
                break;
            }
        }