From dde468ed696c63ab6cd7444f845e51d5eb5f13ab Mon Sep 17 00:00:00 2001 From: Donkie Date: Tue, 18 Mar 2025 20:32:43 +0100 Subject: [PATCH] Add Japanese, Brazilian Portuguese, Tamil, and Thai locales to i18n.ts --- client/src/i18n.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/client/src/i18n.ts b/client/src/i18n.ts index 7bece91..5f46b46 100644 --- a/client/src/i18n.ts +++ b/client/src/i18n.ts @@ -119,6 +119,26 @@ export const languages: { [key: string]: Language } = { fullCode: "ro-RO", djs: () => import("dayjs/locale/ro"), }, + ["ja"]: { + name: "日本語", + fullCode: "ja-JP", + djs: () => import("dayjs/locale/ja"), + }, + ["pt-BR"]: { + name: "Português (Brasil)", + fullCode: "pt-BR", + djs: () => import("dayjs/locale/pt-br"), + }, + ["ta"]: { + name: "தமிழ்", + fullCode: "ta-IN", + djs: () => import("dayjs/locale/ta"), + }, + ["th"]: { + name: "ไทย", + fullCode: "th-TH", + djs: () => import("dayjs/locale/th"), + }, }; i18n