feat(i18n): add Russian UI and harden localization

This commit is contained in:
Arthur Koba
2026-10-25 22:35:32 +03:00
parent 65a96670d5
commit b4e94076c9
115 changed files with 7767 additions and 993 deletions
@@ -13,11 +13,13 @@ import { locales, type AppLocale } from '@/i18n/config';
import { switchLocale } from '@/i18n/client';
import { cn } from '@/lib/utils';
import enNames from '@/messages/fragments/languages.en.json';
import ruNames from '@/messages/fragments/languages.ru.json';
import zhCNNames from '@/messages/fragments/languages.zh-CN.json';
// Language names always use their own locale, regardless of the active UI.
const nativeNames: Record<AppLocale, string> = {
en: enNames.languageNames.en,
ru: ruNames.languageNames.ru,
'zh-CN': zhCNNames.languageNames['zh-CN'],
};