diff --git a/apps/website/src/i18n.ts b/apps/website/src/i18n.ts index 32bd7d09c..ecd1290c0 100644 --- a/apps/website/src/i18n.ts +++ b/apps/website/src/i18n.ts @@ -2,6 +2,23 @@ import { default as i18next } from "i18next"; import HttpApi from 'i18next-http-backend'; import { initReactI18next } from "react-i18next"; +interface Locale { + id: string; + name: string; + rtl?: boolean; +} + +export const LOCALES: Locale[] = [ + { id: "ro", name: "Română" }, + { id: "zh_TW", name: "繁體中文" }, + { id: "fr", name: "Français" }, + { id: "it", name: "Italiano" }, + { id: "ja", name: "日本語" }, + { id: "pl", name: "Polski" }, + { id: "es", name: "Español" }, + { id: "ar", name: "اَلْعَرَبِيَّةُ", rtl: true }, +]; + i18next .use(HttpApi) .use(initReactI18next);