feat: set up locales

This commit is contained in:
tresabhi committed 2024-12-26 14:36:48 -06:00
1 parent 3bbc083b2a
commit 60ab845326
7 files changed
+28 -14

No files matched your search

+1
View File
@@ -46,4 +46,5 @@ export * from './votes';
export * from './createDefaultProvisions';
export * from './metaSortTank';
export * from './romanize';
export * from './supportedLocales';
export * from './youtubers';
@@ -0,0 +1,10 @@
export const SUPPORTED_LOCALES = ['en', 'es', 'hr', 'ru', 'uk', 'cn'];
export const LOCALE_FILES: Record<(typeof SUPPORTED_LOCALES)[number], string> =
{
en: 'en-US',
es: 'es-ES',
hr: 'hr',
ru: 'ru',
uk: 'uk',
cn: 'zh-CN',
};