private void UpdateAboutMenu() { var items = AboutItems.MenuItems; while (items[0] != aboutSeperatorItem) { items.RemoveAt(0); } Configuration config = controller.ConfigController.GetConfigurationCopy(); if (!string.IsNullOrEmpty(config.language)) { I18N.SetLang(config.language); } IList <I18N.Lang> langlist = I18N.GetLangList(); for (int i = 0; i < langlist.Count; i++) { I18N.Lang lang = langlist[i]; MenuItem item = new MenuItem(I18N.GetString(lang.fullname)); item.Tag = lang; item.Click += OnLanguageItemClick; if (lang == I18N.Current) { item.Checked = true; } items.Add(i, item); } }