From 502ea1ba8b980fa7ce31dff003e42fe8dd413402 Mon Sep 17 00:00:00 2001 From: Donkie Date: Mon, 18 Nov 2024 22:41:14 +0100 Subject: [PATCH] Added Romanian, Persian and Traditional Chinese to list of select-able languages --- client/src/i18n.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/client/src/i18n.ts b/client/src/i18n.ts index 8c88ecb..a83382e 100644 --- a/client/src/i18n.ts +++ b/client/src/i18n.ts @@ -43,6 +43,11 @@ export const languages: { [key: string]: Language } = { countryCode: "cn", fullCode: "zh-CN", }, + ["zh-Hant"]: { + name: "繁體中文", + countryCode: "cn", + fullCode: "zh-TW", + }, ["pl"]: { name: "Polski", countryCode: "pl", @@ -103,6 +108,16 @@ export const languages: { [key: string]: Language } = { countryCode: "pt", fullCode: "pt-PT", }, + ["fa"]: { + name: "فارسی", + countryCode: "ir", + fullCode: "fa-IR", + }, + ["ro"]: { + name: "Român", + countryCode: "ro", + fullCode: "ro-RO", + }, }; i18n