feat: Add Hebrew as a language option (#12083)

* feat: Add Hebrew as a language option

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Tom MoorandCopilot authored and GitHub committed 2026-04-16 18:37:41 -04:00
1 parent 26f5bb9784
commit fccc343cb9
2 files changed
+36 -30

No files matched your search

+34 -30
View File
@@ -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)",
+2
View File
@@ -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,