diff --git a/.changeset/eleven-cooks-invite.md b/.changeset/eleven-cooks-invite.md new file mode 100644 index 0000000000000..0e40d1c1603b8 --- /dev/null +++ b/.changeset/eleven-cooks-invite.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/meteor': patch +--- + +Change Language selection box is empty to Default diff --git a/apps/meteor/client/views/account/preferences/PreferencesLocalizationSection.tsx b/apps/meteor/client/views/account/preferences/PreferencesLocalizationSection.tsx index 0dc6e25f1ac33..fb916baead16a 100644 --- a/apps/meteor/client/views/account/preferences/PreferencesLocalizationSection.tsx +++ b/apps/meteor/client/views/account/preferences/PreferencesLocalizationSection.tsx @@ -19,6 +19,8 @@ const PreferencesLocalizationSection = () => { const languageId = useUniqueId(); + const defaultLanguageKey = languages.find(language => language.name === 'Default')?.key; + return ( @@ -28,6 +30,7 @@ const PreferencesLocalizationSection = () => { (