Update shared/i18n/index.ts to export both comprehensive and JSON translations

This commit is contained in:
Claude
2025-11-14 23:57:49 +00:00
parent 1e6507d6c6
commit fe8d788e37
+7 -3
View File
@@ -1,8 +1,12 @@
/** /**
* Shared i18n configuration and translations * Shared i18n configuration for PezkuwiChain
* Exports comprehensive translations and language configuration
*/ */
// Import all translations // Import comprehensive translations (2590+ lines covering all features)
export { translations as comprehensiveTranslations, supportedLocales } from './translations';
// Import all translation JSON files for i18next compatibility
import en from './locales/en.json'; import en from './locales/en.json';
import tr from './locales/tr.json'; import tr from './locales/tr.json';
import kmr from './locales/kmr.json'; import kmr from './locales/kmr.json';
@@ -43,7 +47,7 @@ export const DEFAULT_LANGUAGE = 'en';
export const LANGUAGE_STORAGE_KEY = '@pezkuwi_language'; export const LANGUAGE_STORAGE_KEY = '@pezkuwi_language';
/** /**
* Translation resources * Translation resources (JSON format for i18next)
*/ */
export const translations = { export const translations = {
en, en,