diff --git a/xpfe/components/prefwindow/resources/content/pref-languages.js b/xpfe/components/prefwindow/resources/content/pref-languages.js index 0a9402d7e0d..cfcbb7ce456 100644 --- a/xpfe/components/prefwindow/resources/content/pref-languages.js +++ b/xpfe/components/prefwindow/resources/content/pref-languages.js @@ -320,6 +320,8 @@ function AddAvailableLanguage() Languageid = otherField.value; Languageid = Languageid.toLowerCase(); Languagename = GetLanguageTitle(Languageid); + if (!Languagename) + Languagename = '[' + Languageid + ']'; already_active = false; if (!LangAlreadyActive(Languageid)) {