From b2edd6c478e3b84142a95be0a83f5e7246877b14 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 9 Jun 2026 23:37:49 +0000 Subject: [PATCH] Add src/i18n-config.ts --- src/i18n-config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/i18n-config.ts diff --git a/src/i18n-config.ts b/src/i18n-config.ts new file mode 100644 index 0000000..3131033 --- /dev/null +++ b/src/i18n-config.ts @@ -0,0 +1,8 @@ +export const i18n = { + defaultLocale: 'en', + locales: ['en', 'ru', 'es', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ar', 'zh', 'ja', 'uk'], + localeDetection: true, + rtlLocales: ['ar'], // Arabic is Right-To-Left +}; + +export type Locale = (typeof i18n)['locales'][number]; \ No newline at end of file