Add Danish and Indonesian to the language options (#13221)

This commit is contained in:
Tom Moor
2026-08-01 10:26:54 -04:00
committed by GitHub
parent 1108d2c014
commit eb88df4825
2 changed files with 12 additions and 0 deletions
+8
View File
@@ -24,6 +24,10 @@ export const languageOptions: LanguageOption[] = [
label: "Čeština (Czech)",
value: "cs_CZ",
},
{
label: "Dansk (Danish)",
value: "da_DK",
},
{
label: "Nederlands (Dutch, Netherlands)",
value: "nl_NL",
@@ -52,6 +56,10 @@ export const languageOptions: LanguageOption[] = [
label: "Magyar (Hungarian)",
value: "hu_HU",
},
{
label: "Bahasa Indonesia (Indonesian)",
value: "id_ID",
},
{
label: "Italiano (Italian)",
value: "it_IT",
+4
View File
@@ -21,6 +21,7 @@ import {
// (~90) into memory rather than only those supported by the app.
import { ca } from "date-fns/locale/ca";
import { cs } from "date-fns/locale/cs";
import { da } from "date-fns/locale/da";
import { de } from "date-fns/locale/de";
import { enGB } from "date-fns/locale/en-GB";
import { enUS } from "date-fns/locale/en-US";
@@ -29,6 +30,7 @@ import { faIR } from "date-fns/locale/fa-IR";
import { fr } from "date-fns/locale/fr";
import { he } from "date-fns/locale/he";
import { hu } from "date-fns/locale/hu";
import { id } from "date-fns/locale/id";
import { it } from "date-fns/locale/it";
import { ja } from "date-fns/locale/ja";
import { ko } from "date-fns/locale/ko";
@@ -269,6 +271,7 @@ export function getCurrentDateTimeAsString(locale?: Intl.LocalesArgument) {
const locales = {
ca_ES: ca,
cs_CZ: cs,
da_DK: da,
de_DE: de,
en_GB: enGB,
en_US: enUS,
@@ -277,6 +280,7 @@ const locales = {
fr_FR: fr,
he_IL: he,
hu_HU: hu,
id_ID: id,
it_IT: it,
ja_JP: ja,
ko_KR: ko,