Skip to content

Commit 801b602

Browse files
authored
🌍 feat: Add support for Hungarian language localization (#6508)
1 parent 8716d44 commit 801b602

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

client/src/components/Nav/SettingsTabs/General/General.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ export const LangSelector = ({
5858
{ value: 'es-ES', label: localize('com_nav_lang_spanish') },
5959
{ value: 'et-EE', label: localize('com_nav_lang_estonian') },
6060
{ value: 'fr-FR', label: localize('com_nav_lang_french') },
61+
{ value: 'he-HE', label: localize('com_nav_lang_hebrew') },
62+
{ value: 'hu-HU', label: localize('com_nav_lang_hungarian') },
6163
{ value: 'it-IT', label: localize('com_nav_lang_italian') },
6264
{ value: 'pl-PL', label: localize('com_nav_lang_polish') },
6365
{ value: 'pt-BR', label: localize('com_nav_lang_brazilian_portuguese') },
@@ -72,7 +74,6 @@ export const LangSelector = ({
7274
{ value: 'tr-TR', label: localize('com_nav_lang_turkish') },
7375
{ value: 'nl-NL', label: localize('com_nav_lang_dutch') },
7476
{ value: 'id-ID', label: localize('com_nav_lang_indonesia') },
75-
{ value: 'he-HE', label: localize('com_nav_lang_hebrew') },
7677
{ value: 'fi-FI', label: localize('com_nav_lang_finnish') },
7778
];
7879

client/src/locales/en/translation.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@
368368
"com_nav_lang_georgian": "ქართული",
369369
"com_nav_lang_german": "Deutsch",
370370
"com_nav_lang_hebrew": "עברית",
371+
"com_nav_lang_hungarian": "Magyar",
371372
"com_nav_lang_indonesia": "Indonesia",
372373
"com_nav_lang_italian": "Italiano",
373374
"com_nav_lang_japanese": "日本語",
@@ -852,4 +853,4 @@
852853
"com_ui_good_evening": "Good evening",
853854
"com_user_message": "You",
854855
"com_warning_resubmit_unsupported": "Resubmitting the AI message is not supported for this endpoint."
855-
}
856+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

client/src/locales/i18n.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import translationVi from './vi/translation.json';
2424
import translationNl from './nl/translation.json';
2525
import translationId from './id/translation.json';
2626
import translationHe from './he/translation.json';
27+
import translationHu from './hu/translation.json';
2728
import translationFi from './fi/translation.json';
2829
import translationZh_Hans from './zh-Hans/translation.json';
2930
import translationZh_Hant from './zh-Hant/translation.json';
@@ -54,6 +55,7 @@ export const resources = {
5455
nl: { translation: translationNl },
5556
id: { translation: translationId },
5657
he: { translation: translationHe },
58+
hu: { translation: translationHu },
5759
fi: { translation: translationFi },
5860
} as const;
5961

0 commit comments

Comments
 (0)