diff --git a/shared/i18n/index.ts b/shared/i18n/index.ts index 2e57f4d073..e55c1807c7 100644 --- a/shared/i18n/index.ts +++ b/shared/i18n/index.ts @@ -8,18 +8,6 @@ type LanguageOption = { // Note: Updating the available languages? Make sure to also update the // locales array in shared/utils/date.ts to enable translation for timestamps. export const languageOptions: LanguageOption[] = [ - { - label: "English (US)", - value: "en_US", - }, - { - label: "English (UK)", - value: "en_GB", - }, - { - label: "Čeština (Czech)", - value: "cs_CZ", - }, { label: "简体中文 (Chinese, Simplified)", value: "zh_CN", @@ -29,17 +17,37 @@ export const languageOptions: LanguageOption[] = [ value: "zh_TW", }, { - label: "Deutsch (German)", - value: "de_DE", + label: "Čeština (Czech)", + value: "cs_CZ", }, { - label: "Español (Spanish)", - value: "es_ES", + label: "Nederlands (Dutch, Netherlands)", + value: "nl_NL", + }, + { + label: "English (UK)", + value: "en_GB", + }, + { + label: "English (US)", + value: "en_US", }, { label: "Français (French)", value: "fr_FR", }, + { + label: "Deutsch (German)", + value: "de_DE", + }, + { + label: "עברית (Hebrew)", + value: "he_IL", + }, + { + label: "Magyar (Hungarian)", + value: "hu_HU", + }, { label: "Italiano (Italian)", value: "it_IT", @@ -52,18 +60,18 @@ export const languageOptions: LanguageOption[] = [ label: "한국어 (Korean)", value: "ko_KR", }, - { - label: "Magyar (Hungarian)", - value: "hu_HU", - }, - { - label: "Nederland (Dutch, Netherlands)", - value: "nl_NL", - }, { label: "Norsk Bokmål (Norwegian)", value: "nb_NO", }, + { + label: "فارسی (Persian)", + value: "fa_IR", + }, + { + label: "Polski (Polish)", + value: "pl_PL", + }, { label: "Português (Portuguese, Brazil)", value: "pt_BR", @@ -73,12 +81,8 @@ export const languageOptions: LanguageOption[] = [ value: "pt_PT", }, { - label: "Polskie (Polish)", - value: "pl_PL", - }, - { - label: "فارسی (Persian)", - value: "fa_IR", + label: "Español (Spanish)", + value: "es_ES", }, { label: "Svenska (Swedish)", diff --git a/shared/utils/date.ts b/shared/utils/date.ts index e8fe15e6eb..3b6bffa823 100644 --- a/shared/utils/date.ts +++ b/shared/utils/date.ts @@ -18,6 +18,7 @@ import { es, faIR, fr, + he, hu, it, ja, @@ -265,6 +266,7 @@ const locales = { es_ES: es, fa_IR: faIR, fr_FR: fr, + he_IL: he, hu_HU: hu, it_IT: it, ja_JP: ja,