@umituz/react-native-localization 1.3.10 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/infrastructure/config/i18n.d.ts +5 -0
- package/lib/infrastructure/config/i18n.d.ts.map +1 -1
- package/lib/infrastructure/config/i18n.js +192 -17
- package/lib/infrastructure/config/i18n.js.map +1 -1
- package/lib/infrastructure/locales/en-US/index.d.ts +21 -26
- package/lib/infrastructure/locales/en-US/index.d.ts.map +1 -1
- package/lib/infrastructure/locales/en-US/index.js +32 -39
- package/lib/infrastructure/locales/en-US/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/createLocaleLoaders.js +35 -28
- package/scripts/setup-languages.js +113 -0
- package/src/infrastructure/config/i18n.ts +200 -18
- package/src/infrastructure/locales/en-US/index.ts +33 -39
- package/lib/infrastructure/locales/ar-SA/index.d.ts +0 -34
- package/lib/infrastructure/locales/ar-SA/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/ar-SA/index.js +0 -47
- package/lib/infrastructure/locales/ar-SA/index.js.map +0 -1
- package/lib/infrastructure/locales/bg-BG/index.d.ts +0 -34
- package/lib/infrastructure/locales/bg-BG/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/bg-BG/index.js +0 -47
- package/lib/infrastructure/locales/bg-BG/index.js.map +0 -1
- package/lib/infrastructure/locales/cs-CZ/index.d.ts +0 -34
- package/lib/infrastructure/locales/cs-CZ/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/cs-CZ/index.js +0 -47
- package/lib/infrastructure/locales/cs-CZ/index.js.map +0 -1
- package/lib/infrastructure/locales/da-DK/index.d.ts +0 -34
- package/lib/infrastructure/locales/da-DK/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/da-DK/index.js +0 -47
- package/lib/infrastructure/locales/da-DK/index.js.map +0 -1
- package/lib/infrastructure/locales/de-DE/index.d.ts +0 -34
- package/lib/infrastructure/locales/de-DE/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/de-DE/index.js +0 -47
- package/lib/infrastructure/locales/de-DE/index.js.map +0 -1
- package/lib/infrastructure/locales/el-GR/index.d.ts +0 -34
- package/lib/infrastructure/locales/el-GR/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/el-GR/index.js +0 -47
- package/lib/infrastructure/locales/el-GR/index.js.map +0 -1
- package/lib/infrastructure/locales/en-AU/index.d.ts +0 -32
- package/lib/infrastructure/locales/en-AU/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/en-AU/index.js +0 -44
- package/lib/infrastructure/locales/en-AU/index.js.map +0 -1
- package/lib/infrastructure/locales/en-CA/index.d.ts +0 -32
- package/lib/infrastructure/locales/en-CA/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/en-CA/index.js +0 -44
- package/lib/infrastructure/locales/en-CA/index.js.map +0 -1
- package/lib/infrastructure/locales/en-GB/index.d.ts +0 -32
- package/lib/infrastructure/locales/en-GB/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/en-GB/index.js +0 -44
- package/lib/infrastructure/locales/en-GB/index.js.map +0 -1
- package/lib/infrastructure/locales/es-ES/index.d.ts +0 -34
- package/lib/infrastructure/locales/es-ES/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/es-ES/index.js +0 -47
- package/lib/infrastructure/locales/es-ES/index.js.map +0 -1
- package/lib/infrastructure/locales/es-MX/index.d.ts +0 -34
- package/lib/infrastructure/locales/es-MX/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/es-MX/index.js +0 -47
- package/lib/infrastructure/locales/es-MX/index.js.map +0 -1
- package/lib/infrastructure/locales/fi-FI/index.d.ts +0 -34
- package/lib/infrastructure/locales/fi-FI/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/fi-FI/index.js +0 -47
- package/lib/infrastructure/locales/fi-FI/index.js.map +0 -1
- package/lib/infrastructure/locales/fr-CA/index.d.ts +0 -34
- package/lib/infrastructure/locales/fr-CA/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/fr-CA/index.js +0 -47
- package/lib/infrastructure/locales/fr-CA/index.js.map +0 -1
- package/lib/infrastructure/locales/fr-FR/index.d.ts +0 -34
- package/lib/infrastructure/locales/fr-FR/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/fr-FR/index.js +0 -47
- package/lib/infrastructure/locales/fr-FR/index.js.map +0 -1
- package/lib/infrastructure/locales/hi-IN/index.d.ts +0 -34
- package/lib/infrastructure/locales/hi-IN/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/hi-IN/index.js +0 -47
- package/lib/infrastructure/locales/hi-IN/index.js.map +0 -1
- package/lib/infrastructure/locales/hr-HR/index.d.ts +0 -34
- package/lib/infrastructure/locales/hr-HR/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/hr-HR/index.js +0 -47
- package/lib/infrastructure/locales/hr-HR/index.js.map +0 -1
- package/lib/infrastructure/locales/hu-HU/index.d.ts +0 -34
- package/lib/infrastructure/locales/hu-HU/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/hu-HU/index.js +0 -47
- package/lib/infrastructure/locales/hu-HU/index.js.map +0 -1
- package/lib/infrastructure/locales/id-ID/index.d.ts +0 -34
- package/lib/infrastructure/locales/id-ID/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/id-ID/index.js +0 -47
- package/lib/infrastructure/locales/id-ID/index.js.map +0 -1
- package/lib/infrastructure/locales/it-IT/index.d.ts +0 -34
- package/lib/infrastructure/locales/it-IT/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/it-IT/index.js +0 -47
- package/lib/infrastructure/locales/it-IT/index.js.map +0 -1
- package/lib/infrastructure/locales/ja-JP/index.d.ts +0 -34
- package/lib/infrastructure/locales/ja-JP/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/ja-JP/index.js +0 -47
- package/lib/infrastructure/locales/ja-JP/index.js.map +0 -1
- package/lib/infrastructure/locales/ko-KR/index.d.ts +0 -34
- package/lib/infrastructure/locales/ko-KR/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/ko-KR/index.js +0 -47
- package/lib/infrastructure/locales/ko-KR/index.js.map +0 -1
- package/lib/infrastructure/locales/ms-MY/index.d.ts +0 -34
- package/lib/infrastructure/locales/ms-MY/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/ms-MY/index.js +0 -47
- package/lib/infrastructure/locales/ms-MY/index.js.map +0 -1
- package/lib/infrastructure/locales/nl-NL/index.d.ts +0 -34
- package/lib/infrastructure/locales/nl-NL/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/nl-NL/index.js +0 -47
- package/lib/infrastructure/locales/nl-NL/index.js.map +0 -1
- package/lib/infrastructure/locales/no-NO/index.d.ts +0 -34
- package/lib/infrastructure/locales/no-NO/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/no-NO/index.js +0 -47
- package/lib/infrastructure/locales/no-NO/index.js.map +0 -1
- package/lib/infrastructure/locales/pl-PL/index.d.ts +0 -34
- package/lib/infrastructure/locales/pl-PL/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/pl-PL/index.js +0 -47
- package/lib/infrastructure/locales/pl-PL/index.js.map +0 -1
- package/lib/infrastructure/locales/pt-BR/index.d.ts +0 -34
- package/lib/infrastructure/locales/pt-BR/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/pt-BR/index.js +0 -47
- package/lib/infrastructure/locales/pt-BR/index.js.map +0 -1
- package/lib/infrastructure/locales/pt-PT/index.d.ts +0 -34
- package/lib/infrastructure/locales/pt-PT/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/pt-PT/index.js +0 -47
- package/lib/infrastructure/locales/pt-PT/index.js.map +0 -1
- package/lib/infrastructure/locales/ro-RO/index.d.ts +0 -34
- package/lib/infrastructure/locales/ro-RO/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/ro-RO/index.js +0 -47
- package/lib/infrastructure/locales/ro-RO/index.js.map +0 -1
- package/lib/infrastructure/locales/ru-RU/index.d.ts +0 -34
- package/lib/infrastructure/locales/ru-RU/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/ru-RU/index.js +0 -47
- package/lib/infrastructure/locales/ru-RU/index.js.map +0 -1
- package/lib/infrastructure/locales/sk-SK/index.d.ts +0 -34
- package/lib/infrastructure/locales/sk-SK/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/sk-SK/index.js +0 -47
- package/lib/infrastructure/locales/sk-SK/index.js.map +0 -1
- package/lib/infrastructure/locales/sv-SE/index.d.ts +0 -34
- package/lib/infrastructure/locales/sv-SE/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/sv-SE/index.js +0 -47
- package/lib/infrastructure/locales/sv-SE/index.js.map +0 -1
- package/lib/infrastructure/locales/th-TH/index.d.ts +0 -34
- package/lib/infrastructure/locales/th-TH/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/th-TH/index.js +0 -47
- package/lib/infrastructure/locales/th-TH/index.js.map +0 -1
- package/lib/infrastructure/locales/tl-PH/index.d.ts +0 -34
- package/lib/infrastructure/locales/tl-PH/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/tl-PH/index.js +0 -47
- package/lib/infrastructure/locales/tl-PH/index.js.map +0 -1
- package/lib/infrastructure/locales/tr-TR/index.d.ts +0 -34
- package/lib/infrastructure/locales/tr-TR/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/tr-TR/index.js +0 -47
- package/lib/infrastructure/locales/tr-TR/index.js.map +0 -1
- package/lib/infrastructure/locales/uk-UA/index.d.ts +0 -34
- package/lib/infrastructure/locales/uk-UA/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/uk-UA/index.js +0 -47
- package/lib/infrastructure/locales/uk-UA/index.js.map +0 -1
- package/lib/infrastructure/locales/vi-VN/index.d.ts +0 -34
- package/lib/infrastructure/locales/vi-VN/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/vi-VN/index.js +0 -47
- package/lib/infrastructure/locales/vi-VN/index.js.map +0 -1
- package/lib/infrastructure/locales/zh-CN/index.d.ts +0 -34
- package/lib/infrastructure/locales/zh-CN/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/zh-CN/index.js +0 -47
- package/lib/infrastructure/locales/zh-CN/index.js.map +0 -1
- package/lib/infrastructure/locales/zh-TW/index.d.ts +0 -34
- package/lib/infrastructure/locales/zh-TW/index.d.ts.map +0 -1
- package/lib/infrastructure/locales/zh-TW/index.js +0 -47
- package/lib/infrastructure/locales/zh-TW/index.js.map +0 -1
- package/src/infrastructure/locales/ar-SA/auth.json +0 -32
- package/src/infrastructure/locales/ar-SA/branding.json +0 -9
- package/src/infrastructure/locales/ar-SA/datetime.json +0 -140
- package/src/infrastructure/locales/ar-SA/errors.json +0 -43
- package/src/infrastructure/locales/ar-SA/flashcards.json +0 -287
- package/src/infrastructure/locales/ar-SA/general.json +0 -61
- package/src/infrastructure/locales/ar-SA/index.ts +0 -49
- package/src/infrastructure/locales/ar-SA/navigation.json +0 -58
- package/src/infrastructure/locales/ar-SA/onboarding.json +0 -76
- package/src/infrastructure/locales/ar-SA/settings.json +0 -53
- package/src/infrastructure/locales/bg-BG/auth.json +0 -32
- package/src/infrastructure/locales/bg-BG/branding.json +0 -9
- package/src/infrastructure/locales/bg-BG/datetime.json +0 -140
- package/src/infrastructure/locales/bg-BG/errors.json +0 -43
- package/src/infrastructure/locales/bg-BG/flashcards.json +0 -287
- package/src/infrastructure/locales/bg-BG/general.json +0 -61
- package/src/infrastructure/locales/bg-BG/index.ts +0 -49
- package/src/infrastructure/locales/bg-BG/navigation.json +0 -58
- package/src/infrastructure/locales/bg-BG/onboarding.json +0 -76
- package/src/infrastructure/locales/bg-BG/settings.json +0 -53
- package/src/infrastructure/locales/cs-CZ/auth.json +0 -32
- package/src/infrastructure/locales/cs-CZ/branding.json +0 -9
- package/src/infrastructure/locales/cs-CZ/datetime.json +0 -140
- package/src/infrastructure/locales/cs-CZ/errors.json +0 -43
- package/src/infrastructure/locales/cs-CZ/flashcards.json +0 -287
- package/src/infrastructure/locales/cs-CZ/general.json +0 -61
- package/src/infrastructure/locales/cs-CZ/index.ts +0 -49
- package/src/infrastructure/locales/cs-CZ/navigation.json +0 -58
- package/src/infrastructure/locales/cs-CZ/onboarding.json +0 -76
- package/src/infrastructure/locales/cs-CZ/settings.json +0 -53
- package/src/infrastructure/locales/da-DK/auth.json +0 -32
- package/src/infrastructure/locales/da-DK/branding.json +0 -9
- package/src/infrastructure/locales/da-DK/datetime.json +0 -140
- package/src/infrastructure/locales/da-DK/errors.json +0 -43
- package/src/infrastructure/locales/da-DK/flashcards.json +0 -287
- package/src/infrastructure/locales/da-DK/general.json +0 -61
- package/src/infrastructure/locales/da-DK/index.ts +0 -49
- package/src/infrastructure/locales/da-DK/navigation.json +0 -58
- package/src/infrastructure/locales/da-DK/onboarding.json +0 -76
- package/src/infrastructure/locales/da-DK/settings.json +0 -53
- package/src/infrastructure/locales/de-DE/auth.json +0 -32
- package/src/infrastructure/locales/de-DE/branding.json +0 -9
- package/src/infrastructure/locales/de-DE/datetime.json +0 -140
- package/src/infrastructure/locales/de-DE/errors.json +0 -43
- package/src/infrastructure/locales/de-DE/flashcards.json +0 -287
- package/src/infrastructure/locales/de-DE/general.json +0 -61
- package/src/infrastructure/locales/de-DE/index.ts +0 -49
- package/src/infrastructure/locales/de-DE/navigation.json +0 -58
- package/src/infrastructure/locales/de-DE/onboarding.json +0 -76
- package/src/infrastructure/locales/de-DE/settings.json +0 -53
- package/src/infrastructure/locales/el-GR/auth.json +0 -32
- package/src/infrastructure/locales/el-GR/branding.json +0 -9
- package/src/infrastructure/locales/el-GR/datetime.json +0 -140
- package/src/infrastructure/locales/el-GR/errors.json +0 -43
- package/src/infrastructure/locales/el-GR/flashcards.json +0 -287
- package/src/infrastructure/locales/el-GR/general.json +0 -61
- package/src/infrastructure/locales/el-GR/index.ts +0 -49
- package/src/infrastructure/locales/el-GR/navigation.json +0 -58
- package/src/infrastructure/locales/el-GR/onboarding.json +0 -76
- package/src/infrastructure/locales/el-GR/settings.json +0 -53
- package/src/infrastructure/locales/en-AU/branding.json +0 -11
- package/src/infrastructure/locales/en-AU/datetime.json +0 -140
- package/src/infrastructure/locales/en-AU/errors.json +0 -43
- package/src/infrastructure/locales/en-AU/flashcards.json +0 -83
- package/src/infrastructure/locales/en-AU/general.json +0 -61
- package/src/infrastructure/locales/en-AU/index.ts +0 -46
- package/src/infrastructure/locales/en-AU/navigation.json +0 -58
- package/src/infrastructure/locales/en-AU/onboarding.json +0 -76
- package/src/infrastructure/locales/en-AU/settings.json +0 -53
- package/src/infrastructure/locales/en-CA/branding.json +0 -11
- package/src/infrastructure/locales/en-CA/datetime.json +0 -140
- package/src/infrastructure/locales/en-CA/errors.json +0 -43
- package/src/infrastructure/locales/en-CA/flashcards.json +0 -83
- package/src/infrastructure/locales/en-CA/general.json +0 -61
- package/src/infrastructure/locales/en-CA/index.ts +0 -46
- package/src/infrastructure/locales/en-CA/navigation.json +0 -58
- package/src/infrastructure/locales/en-CA/onboarding.json +0 -76
- package/src/infrastructure/locales/en-CA/settings.json +0 -53
- package/src/infrastructure/locales/en-GB/branding.json +0 -11
- package/src/infrastructure/locales/en-GB/datetime.json +0 -140
- package/src/infrastructure/locales/en-GB/errors.json +0 -43
- package/src/infrastructure/locales/en-GB/flashcards.json +0 -83
- package/src/infrastructure/locales/en-GB/general.json +0 -61
- package/src/infrastructure/locales/en-GB/index.ts +0 -46
- package/src/infrastructure/locales/en-GB/navigation.json +0 -58
- package/src/infrastructure/locales/en-GB/onboarding.json +0 -76
- package/src/infrastructure/locales/en-GB/settings.json +0 -53
- package/src/infrastructure/locales/es-ES/auth.json +0 -32
- package/src/infrastructure/locales/es-ES/branding.json +0 -9
- package/src/infrastructure/locales/es-ES/datetime.json +0 -140
- package/src/infrastructure/locales/es-ES/errors.json +0 -43
- package/src/infrastructure/locales/es-ES/flashcards.json +0 -287
- package/src/infrastructure/locales/es-ES/general.json +0 -61
- package/src/infrastructure/locales/es-ES/index.ts +0 -49
- package/src/infrastructure/locales/es-ES/navigation.json +0 -58
- package/src/infrastructure/locales/es-ES/onboarding.json +0 -76
- package/src/infrastructure/locales/es-ES/settings.json +0 -53
- package/src/infrastructure/locales/es-MX/auth.json +0 -32
- package/src/infrastructure/locales/es-MX/branding.json +0 -9
- package/src/infrastructure/locales/es-MX/datetime.json +0 -140
- package/src/infrastructure/locales/es-MX/errors.json +0 -43
- package/src/infrastructure/locales/es-MX/flashcards.json +0 -276
- package/src/infrastructure/locales/es-MX/general.json +0 -61
- package/src/infrastructure/locales/es-MX/index.ts +0 -49
- package/src/infrastructure/locales/es-MX/navigation.json +0 -58
- package/src/infrastructure/locales/es-MX/onboarding.json +0 -76
- package/src/infrastructure/locales/es-MX/settings.json +0 -53
- package/src/infrastructure/locales/fi-FI/auth.json +0 -32
- package/src/infrastructure/locales/fi-FI/branding.json +0 -9
- package/src/infrastructure/locales/fi-FI/datetime.json +0 -140
- package/src/infrastructure/locales/fi-FI/errors.json +0 -43
- package/src/infrastructure/locales/fi-FI/flashcards.json +0 -287
- package/src/infrastructure/locales/fi-FI/general.json +0 -61
- package/src/infrastructure/locales/fi-FI/index.ts +0 -49
- package/src/infrastructure/locales/fi-FI/navigation.json +0 -58
- package/src/infrastructure/locales/fi-FI/onboarding.json +0 -76
- package/src/infrastructure/locales/fi-FI/settings.json +0 -53
- package/src/infrastructure/locales/fr-CA/auth.json +0 -32
- package/src/infrastructure/locales/fr-CA/branding.json +0 -9
- package/src/infrastructure/locales/fr-CA/datetime.json +0 -140
- package/src/infrastructure/locales/fr-CA/errors.json +0 -43
- package/src/infrastructure/locales/fr-CA/flashcards.json +0 -287
- package/src/infrastructure/locales/fr-CA/general.json +0 -61
- package/src/infrastructure/locales/fr-CA/index.ts +0 -49
- package/src/infrastructure/locales/fr-CA/navigation.json +0 -58
- package/src/infrastructure/locales/fr-CA/onboarding.json +0 -76
- package/src/infrastructure/locales/fr-CA/settings.json +0 -53
- package/src/infrastructure/locales/fr-FR/auth.json +0 -32
- package/src/infrastructure/locales/fr-FR/branding.json +0 -9
- package/src/infrastructure/locales/fr-FR/datetime.json +0 -140
- package/src/infrastructure/locales/fr-FR/errors.json +0 -43
- package/src/infrastructure/locales/fr-FR/flashcards.json +0 -287
- package/src/infrastructure/locales/fr-FR/general.json +0 -61
- package/src/infrastructure/locales/fr-FR/index.ts +0 -49
- package/src/infrastructure/locales/fr-FR/navigation.json +0 -58
- package/src/infrastructure/locales/fr-FR/onboarding.json +0 -76
- package/src/infrastructure/locales/fr-FR/settings.json +0 -53
- package/src/infrastructure/locales/hi-IN/auth.json +0 -32
- package/src/infrastructure/locales/hi-IN/branding.json +0 -9
- package/src/infrastructure/locales/hi-IN/datetime.json +0 -140
- package/src/infrastructure/locales/hi-IN/errors.json +0 -43
- package/src/infrastructure/locales/hi-IN/flashcards.json +0 -287
- package/src/infrastructure/locales/hi-IN/general.json +0 -61
- package/src/infrastructure/locales/hi-IN/index.ts +0 -49
- package/src/infrastructure/locales/hi-IN/navigation.json +0 -58
- package/src/infrastructure/locales/hi-IN/onboarding.json +0 -76
- package/src/infrastructure/locales/hi-IN/settings.json +0 -53
- package/src/infrastructure/locales/hr-HR/auth.json +0 -32
- package/src/infrastructure/locales/hr-HR/branding.json +0 -9
- package/src/infrastructure/locales/hr-HR/datetime.json +0 -140
- package/src/infrastructure/locales/hr-HR/errors.json +0 -43
- package/src/infrastructure/locales/hr-HR/flashcards.json +0 -276
- package/src/infrastructure/locales/hr-HR/general.json +0 -61
- package/src/infrastructure/locales/hr-HR/index.ts +0 -49
- package/src/infrastructure/locales/hr-HR/navigation.json +0 -58
- package/src/infrastructure/locales/hr-HR/onboarding.json +0 -76
- package/src/infrastructure/locales/hr-HR/settings.json +0 -53
- package/src/infrastructure/locales/hu-HU/auth.json +0 -32
- package/src/infrastructure/locales/hu-HU/branding.json +0 -9
- package/src/infrastructure/locales/hu-HU/datetime.json +0 -140
- package/src/infrastructure/locales/hu-HU/errors.json +0 -43
- package/src/infrastructure/locales/hu-HU/flashcards.json +0 -287
- package/src/infrastructure/locales/hu-HU/general.json +0 -61
- package/src/infrastructure/locales/hu-HU/index.ts +0 -49
- package/src/infrastructure/locales/hu-HU/navigation.json +0 -58
- package/src/infrastructure/locales/hu-HU/onboarding.json +0 -76
- package/src/infrastructure/locales/hu-HU/settings.json +0 -53
- package/src/infrastructure/locales/id-ID/auth.json +0 -32
- package/src/infrastructure/locales/id-ID/branding.json +0 -9
- package/src/infrastructure/locales/id-ID/datetime.json +0 -140
- package/src/infrastructure/locales/id-ID/errors.json +0 -43
- package/src/infrastructure/locales/id-ID/flashcards.json +0 -287
- package/src/infrastructure/locales/id-ID/general.json +0 -61
- package/src/infrastructure/locales/id-ID/index.ts +0 -49
- package/src/infrastructure/locales/id-ID/navigation.json +0 -58
- package/src/infrastructure/locales/id-ID/onboarding.json +0 -76
- package/src/infrastructure/locales/id-ID/settings.json +0 -53
- package/src/infrastructure/locales/it-IT/auth.json +0 -32
- package/src/infrastructure/locales/it-IT/branding.json +0 -9
- package/src/infrastructure/locales/it-IT/datetime.json +0 -140
- package/src/infrastructure/locales/it-IT/errors.json +0 -43
- package/src/infrastructure/locales/it-IT/flashcards.json +0 -287
- package/src/infrastructure/locales/it-IT/general.json +0 -61
- package/src/infrastructure/locales/it-IT/index.ts +0 -49
- package/src/infrastructure/locales/it-IT/navigation.json +0 -58
- package/src/infrastructure/locales/it-IT/onboarding.json +0 -76
- package/src/infrastructure/locales/it-IT/settings.json +0 -53
- package/src/infrastructure/locales/ja-JP/auth.json +0 -32
- package/src/infrastructure/locales/ja-JP/branding.json +0 -9
- package/src/infrastructure/locales/ja-JP/datetime.json +0 -140
- package/src/infrastructure/locales/ja-JP/errors.json +0 -43
- package/src/infrastructure/locales/ja-JP/flashcards.json +0 -287
- package/src/infrastructure/locales/ja-JP/general.json +0 -61
- package/src/infrastructure/locales/ja-JP/index.ts +0 -49
- package/src/infrastructure/locales/ja-JP/navigation.json +0 -58
- package/src/infrastructure/locales/ja-JP/onboarding.json +0 -76
- package/src/infrastructure/locales/ja-JP/settings.json +0 -53
- package/src/infrastructure/locales/ko-KR/auth.json +0 -32
- package/src/infrastructure/locales/ko-KR/branding.json +0 -9
- package/src/infrastructure/locales/ko-KR/datetime.json +0 -140
- package/src/infrastructure/locales/ko-KR/errors.json +0 -43
- package/src/infrastructure/locales/ko-KR/flashcards.json +0 -287
- package/src/infrastructure/locales/ko-KR/general.json +0 -61
- package/src/infrastructure/locales/ko-KR/index.ts +0 -49
- package/src/infrastructure/locales/ko-KR/navigation.json +0 -58
- package/src/infrastructure/locales/ko-KR/onboarding.json +0 -76
- package/src/infrastructure/locales/ko-KR/settings.json +0 -53
- package/src/infrastructure/locales/ms-MY/auth.json +0 -32
- package/src/infrastructure/locales/ms-MY/branding.json +0 -9
- package/src/infrastructure/locales/ms-MY/datetime.json +0 -140
- package/src/infrastructure/locales/ms-MY/errors.json +0 -43
- package/src/infrastructure/locales/ms-MY/flashcards.json +0 -287
- package/src/infrastructure/locales/ms-MY/general.json +0 -61
- package/src/infrastructure/locales/ms-MY/index.ts +0 -49
- package/src/infrastructure/locales/ms-MY/navigation.json +0 -58
- package/src/infrastructure/locales/ms-MY/onboarding.json +0 -76
- package/src/infrastructure/locales/ms-MY/settings.json +0 -53
- package/src/infrastructure/locales/nl-NL/auth.json +0 -32
- package/src/infrastructure/locales/nl-NL/branding.json +0 -9
- package/src/infrastructure/locales/nl-NL/datetime.json +0 -140
- package/src/infrastructure/locales/nl-NL/errors.json +0 -43
- package/src/infrastructure/locales/nl-NL/flashcards.json +0 -287
- package/src/infrastructure/locales/nl-NL/general.json +0 -61
- package/src/infrastructure/locales/nl-NL/index.ts +0 -49
- package/src/infrastructure/locales/nl-NL/navigation.json +0 -58
- package/src/infrastructure/locales/nl-NL/onboarding.json +0 -76
- package/src/infrastructure/locales/nl-NL/settings.json +0 -53
- package/src/infrastructure/locales/no-NO/auth.json +0 -32
- package/src/infrastructure/locales/no-NO/branding.json +0 -9
- package/src/infrastructure/locales/no-NO/datetime.json +0 -140
- package/src/infrastructure/locales/no-NO/errors.json +0 -43
- package/src/infrastructure/locales/no-NO/flashcards.json +0 -287
- package/src/infrastructure/locales/no-NO/general.json +0 -61
- package/src/infrastructure/locales/no-NO/index.ts +0 -49
- package/src/infrastructure/locales/no-NO/navigation.json +0 -58
- package/src/infrastructure/locales/no-NO/onboarding.json +0 -76
- package/src/infrastructure/locales/no-NO/settings.json +0 -53
- package/src/infrastructure/locales/pl-PL/auth.json +0 -32
- package/src/infrastructure/locales/pl-PL/branding.json +0 -9
- package/src/infrastructure/locales/pl-PL/datetime.json +0 -140
- package/src/infrastructure/locales/pl-PL/errors.json +0 -43
- package/src/infrastructure/locales/pl-PL/flashcards.json +0 -287
- package/src/infrastructure/locales/pl-PL/general.json +0 -61
- package/src/infrastructure/locales/pl-PL/index.ts +0 -49
- package/src/infrastructure/locales/pl-PL/navigation.json +0 -58
- package/src/infrastructure/locales/pl-PL/onboarding.json +0 -76
- package/src/infrastructure/locales/pl-PL/settings.json +0 -53
- package/src/infrastructure/locales/pt-BR/auth.json +0 -32
- package/src/infrastructure/locales/pt-BR/branding.json +0 -9
- package/src/infrastructure/locales/pt-BR/datetime.json +0 -140
- package/src/infrastructure/locales/pt-BR/errors.json +0 -43
- package/src/infrastructure/locales/pt-BR/flashcards.json +0 -287
- package/src/infrastructure/locales/pt-BR/general.json +0 -61
- package/src/infrastructure/locales/pt-BR/index.ts +0 -49
- package/src/infrastructure/locales/pt-BR/navigation.json +0 -58
- package/src/infrastructure/locales/pt-BR/onboarding.json +0 -76
- package/src/infrastructure/locales/pt-BR/settings.json +0 -53
- package/src/infrastructure/locales/pt-PT/auth.json +0 -32
- package/src/infrastructure/locales/pt-PT/branding.json +0 -9
- package/src/infrastructure/locales/pt-PT/datetime.json +0 -140
- package/src/infrastructure/locales/pt-PT/errors.json +0 -43
- package/src/infrastructure/locales/pt-PT/flashcards.json +0 -287
- package/src/infrastructure/locales/pt-PT/general.json +0 -61
- package/src/infrastructure/locales/pt-PT/index.ts +0 -49
- package/src/infrastructure/locales/pt-PT/navigation.json +0 -58
- package/src/infrastructure/locales/pt-PT/onboarding.json +0 -76
- package/src/infrastructure/locales/pt-PT/settings.json +0 -53
- package/src/infrastructure/locales/ro-RO/auth.json +0 -32
- package/src/infrastructure/locales/ro-RO/branding.json +0 -9
- package/src/infrastructure/locales/ro-RO/datetime.json +0 -140
- package/src/infrastructure/locales/ro-RO/errors.json +0 -43
- package/src/infrastructure/locales/ro-RO/flashcards.json +0 -287
- package/src/infrastructure/locales/ro-RO/general.json +0 -61
- package/src/infrastructure/locales/ro-RO/index.ts +0 -49
- package/src/infrastructure/locales/ro-RO/navigation.json +0 -58
- package/src/infrastructure/locales/ro-RO/onboarding.json +0 -76
- package/src/infrastructure/locales/ro-RO/settings.json +0 -53
- package/src/infrastructure/locales/ru-RU/auth.json +0 -32
- package/src/infrastructure/locales/ru-RU/branding.json +0 -9
- package/src/infrastructure/locales/ru-RU/datetime.json +0 -140
- package/src/infrastructure/locales/ru-RU/errors.json +0 -43
- package/src/infrastructure/locales/ru-RU/flashcards.json +0 -276
- package/src/infrastructure/locales/ru-RU/general.json +0 -61
- package/src/infrastructure/locales/ru-RU/index.ts +0 -49
- package/src/infrastructure/locales/ru-RU/navigation.json +0 -58
- package/src/infrastructure/locales/ru-RU/onboarding.json +0 -76
- package/src/infrastructure/locales/ru-RU/settings.json +0 -53
- package/src/infrastructure/locales/sk-SK/auth.json +0 -32
- package/src/infrastructure/locales/sk-SK/branding.json +0 -9
- package/src/infrastructure/locales/sk-SK/datetime.json +0 -140
- package/src/infrastructure/locales/sk-SK/errors.json +0 -43
- package/src/infrastructure/locales/sk-SK/flashcards.json +0 -287
- package/src/infrastructure/locales/sk-SK/general.json +0 -61
- package/src/infrastructure/locales/sk-SK/index.ts +0 -49
- package/src/infrastructure/locales/sk-SK/navigation.json +0 -58
- package/src/infrastructure/locales/sk-SK/onboarding.json +0 -76
- package/src/infrastructure/locales/sk-SK/settings.json +0 -53
- package/src/infrastructure/locales/sv-SE/auth.json +0 -32
- package/src/infrastructure/locales/sv-SE/branding.json +0 -9
- package/src/infrastructure/locales/sv-SE/datetime.json +0 -140
- package/src/infrastructure/locales/sv-SE/errors.json +0 -43
- package/src/infrastructure/locales/sv-SE/flashcards.json +0 -287
- package/src/infrastructure/locales/sv-SE/general.json +0 -61
- package/src/infrastructure/locales/sv-SE/index.ts +0 -49
- package/src/infrastructure/locales/sv-SE/navigation.json +0 -58
- package/src/infrastructure/locales/sv-SE/onboarding.json +0 -76
- package/src/infrastructure/locales/sv-SE/settings.json +0 -53
- package/src/infrastructure/locales/th-TH/auth.json +0 -32
- package/src/infrastructure/locales/th-TH/branding.json +0 -9
- package/src/infrastructure/locales/th-TH/datetime.json +0 -140
- package/src/infrastructure/locales/th-TH/errors.json +0 -43
- package/src/infrastructure/locales/th-TH/flashcards.json +0 -287
- package/src/infrastructure/locales/th-TH/general.json +0 -61
- package/src/infrastructure/locales/th-TH/index.ts +0 -49
- package/src/infrastructure/locales/th-TH/navigation.json +0 -58
- package/src/infrastructure/locales/th-TH/onboarding.json +0 -76
- package/src/infrastructure/locales/th-TH/settings.json +0 -53
- package/src/infrastructure/locales/tl-PH/auth.json +0 -32
- package/src/infrastructure/locales/tl-PH/branding.json +0 -9
- package/src/infrastructure/locales/tl-PH/datetime.json +0 -140
- package/src/infrastructure/locales/tl-PH/errors.json +0 -43
- package/src/infrastructure/locales/tl-PH/flashcards.json +0 -287
- package/src/infrastructure/locales/tl-PH/general.json +0 -61
- package/src/infrastructure/locales/tl-PH/index.ts +0 -49
- package/src/infrastructure/locales/tl-PH/navigation.json +0 -58
- package/src/infrastructure/locales/tl-PH/onboarding.json +0 -76
- package/src/infrastructure/locales/tl-PH/settings.json +0 -53
- package/src/infrastructure/locales/tr-TR/auth.json +0 -32
- package/src/infrastructure/locales/tr-TR/branding.json +0 -9
- package/src/infrastructure/locales/tr-TR/datetime.json +0 -140
- package/src/infrastructure/locales/tr-TR/errors.json +0 -43
- package/src/infrastructure/locales/tr-TR/flashcards.json +0 -287
- package/src/infrastructure/locales/tr-TR/general.json +0 -61
- package/src/infrastructure/locales/tr-TR/index.ts +0 -49
- package/src/infrastructure/locales/tr-TR/navigation.json +0 -58
- package/src/infrastructure/locales/tr-TR/onboarding.json +0 -76
- package/src/infrastructure/locales/tr-TR/settings.json +0 -53
- package/src/infrastructure/locales/uk-UA/auth.json +0 -32
- package/src/infrastructure/locales/uk-UA/branding.json +0 -9
- package/src/infrastructure/locales/uk-UA/datetime.json +0 -140
- package/src/infrastructure/locales/uk-UA/errors.json +0 -43
- package/src/infrastructure/locales/uk-UA/flashcards.json +0 -287
- package/src/infrastructure/locales/uk-UA/general.json +0 -61
- package/src/infrastructure/locales/uk-UA/index.ts +0 -49
- package/src/infrastructure/locales/uk-UA/navigation.json +0 -58
- package/src/infrastructure/locales/uk-UA/onboarding.json +0 -76
- package/src/infrastructure/locales/uk-UA/settings.json +0 -53
- package/src/infrastructure/locales/vi-VN/auth.json +0 -32
- package/src/infrastructure/locales/vi-VN/branding.json +0 -9
- package/src/infrastructure/locales/vi-VN/datetime.json +0 -140
- package/src/infrastructure/locales/vi-VN/errors.json +0 -43
- package/src/infrastructure/locales/vi-VN/flashcards.json +0 -287
- package/src/infrastructure/locales/vi-VN/general.json +0 -61
- package/src/infrastructure/locales/vi-VN/index.ts +0 -49
- package/src/infrastructure/locales/vi-VN/navigation.json +0 -58
- package/src/infrastructure/locales/vi-VN/onboarding.json +0 -76
- package/src/infrastructure/locales/vi-VN/settings.json +0 -53
- package/src/infrastructure/locales/zh-CN/auth.json +0 -32
- package/src/infrastructure/locales/zh-CN/branding.json +0 -9
- package/src/infrastructure/locales/zh-CN/datetime.json +0 -140
- package/src/infrastructure/locales/zh-CN/errors.json +0 -43
- package/src/infrastructure/locales/zh-CN/flashcards.json +0 -287
- package/src/infrastructure/locales/zh-CN/general.json +0 -61
- package/src/infrastructure/locales/zh-CN/index.ts +0 -49
- package/src/infrastructure/locales/zh-CN/navigation.json +0 -58
- package/src/infrastructure/locales/zh-CN/onboarding.json +0 -76
- package/src/infrastructure/locales/zh-CN/settings.json +0 -53
- package/src/infrastructure/locales/zh-TW/auth.json +0 -32
- package/src/infrastructure/locales/zh-TW/branding.json +0 -9
- package/src/infrastructure/locales/zh-TW/datetime.json +0 -140
- package/src/infrastructure/locales/zh-TW/errors.json +0 -43
- package/src/infrastructure/locales/zh-TW/flashcards.json +0 -287
- package/src/infrastructure/locales/zh-TW/general.json +0 -61
- package/src/infrastructure/locales/zh-TW/index.ts +0 -49
- package/src/infrastructure/locales/zh-TW/navigation.json +0 -58
- package/src/infrastructure/locales/zh-TW/onboarding.json +0 -76
- package/src/infrastructure/locales/zh-TW/settings.json +0 -53
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* i18next Configuration
|
|
3
3
|
* Nested translation structure - common translations spread, domain translations nested
|
|
4
|
+
*
|
|
5
|
+
* AUTOMATIC LANGUAGE LOADING:
|
|
6
|
+
* - Uses require.context to auto-discover all language directories
|
|
7
|
+
* - No manual imports needed - all languages loaded automatically
|
|
8
|
+
* - Project translations merged with package defaults
|
|
4
9
|
*/
|
|
5
10
|
|
|
6
11
|
import i18n from 'i18next';
|
|
@@ -8,33 +13,210 @@ import { initReactI18next } from 'react-i18next';
|
|
|
8
13
|
import { SUPPORTED_LANGUAGES, DEFAULT_LANGUAGE } from './languages';
|
|
9
14
|
|
|
10
15
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
16
|
+
* AUTOMATIC LANGUAGE LOADING
|
|
17
|
+
*
|
|
18
|
+
* Uses Metro bundler's require.context to automatically discover and load
|
|
19
|
+
* all language directories. No manual imports needed!
|
|
20
|
+
*
|
|
21
|
+
* Structure:
|
|
15
22
|
* locales/
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
23
|
+
* ar-SA/index.ts
|
|
24
|
+
* bg-BG/index.ts
|
|
25
|
+
* en-US/index.ts
|
|
26
|
+
* ... (all languages auto-discovered)
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
// Auto-load all package locale directories using require.context
|
|
30
|
+
// This automatically discovers all language folders (ar-SA, bg-BG, en-US, etc.)
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
32
|
+
const packageLocalesContext = (require as any).context('../locales', true, /\/index\.ts$/);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Load all package translations automatically
|
|
36
|
+
* Extracts language code from path (e.g., './ar-SA/index.ts' -> 'ar-SA')
|
|
37
|
+
*/
|
|
38
|
+
const loadPackageTranslations = (): Record<string, any> => {
|
|
39
|
+
const packageTranslations: Record<string, any> = {};
|
|
40
|
+
|
|
41
|
+
packageLocalesContext.keys().forEach((key: string) => {
|
|
42
|
+
// Extract language code from path: './ar-SA/index.ts' -> 'ar-SA'
|
|
43
|
+
const match = key.match(/\.\/([^/]+)\/index\.ts$/);
|
|
44
|
+
if (match) {
|
|
45
|
+
const languageCode = match[1];
|
|
46
|
+
try {
|
|
47
|
+
const translations = packageLocalesContext(key);
|
|
48
|
+
packageTranslations[languageCode] = translations.default || translations;
|
|
49
|
+
/* eslint-disable-next-line no-console */
|
|
50
|
+
if (__DEV__) console.log(`[i18n] ✅ Loaded package translations: ${languageCode}`);
|
|
51
|
+
} catch (error) {
|
|
52
|
+
/* eslint-disable-next-line no-console */
|
|
53
|
+
if (__DEV__) console.warn(`[i18n] ⚠️ Failed to load package translations for ${languageCode}:`, error);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
return packageTranslations;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const packageTranslations = loadPackageTranslations();
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Try to load project-specific translations
|
|
65
|
+
* Metro bundler will resolve these at build time if they exist
|
|
66
|
+
* If they don't exist, the require will fail gracefully
|
|
20
67
|
*/
|
|
68
|
+
let projectTranslations: Record<string, any> = {};
|
|
21
69
|
|
|
22
|
-
//
|
|
23
|
-
|
|
70
|
+
// Try to load project translations from common paths
|
|
71
|
+
// Metro bundler will include these if they exist at build time
|
|
72
|
+
try {
|
|
73
|
+
// Try DDD structure path with require.context for automatic discovery
|
|
74
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
75
|
+
const projectLocalesContext = (require as any).context('../../../../../../src/domains/localization/infrastructure/locales', true, /\/index\.ts$/);
|
|
76
|
+
|
|
77
|
+
projectLocalesContext.keys().forEach((key: string) => {
|
|
78
|
+
const match = key.match(/\.\/([^/]+)\/index\.ts$/);
|
|
79
|
+
if (match) {
|
|
80
|
+
const languageCode = match[1];
|
|
81
|
+
try {
|
|
82
|
+
const translations = projectLocalesContext(key);
|
|
83
|
+
if (!projectTranslations[languageCode]) {
|
|
84
|
+
projectTranslations[languageCode] = {};
|
|
85
|
+
}
|
|
86
|
+
projectTranslations[languageCode] = translations.default || translations;
|
|
87
|
+
/* eslint-disable-next-line no-console */
|
|
88
|
+
if (__DEV__) console.log(`[i18n] ✅ Loaded project translations: ${languageCode}`);
|
|
89
|
+
} catch (error) {
|
|
90
|
+
/* eslint-disable-next-line no-console */
|
|
91
|
+
if (__DEV__) console.warn(`[i18n] ⚠️ Failed to load project translations for ${languageCode}:`, error);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
/* eslint-disable-next-line no-console */
|
|
97
|
+
if (__DEV__) console.log('[i18n] ✅ Loaded project translations from DDD structure');
|
|
98
|
+
} catch (e1) {
|
|
99
|
+
try {
|
|
100
|
+
// Try alternative DDD structure path
|
|
101
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
102
|
+
const projectLocalesContext = (require as any).context('../../../../../../domains/localization/infrastructure/locales', true, /\/index\.ts$/);
|
|
103
|
+
|
|
104
|
+
projectLocalesContext.keys().forEach((key: string) => {
|
|
105
|
+
const match = key.match(/\.\/([^/]+)\/index\.ts$/);
|
|
106
|
+
if (match) {
|
|
107
|
+
const languageCode = match[1];
|
|
108
|
+
try {
|
|
109
|
+
const translations = projectLocalesContext(key);
|
|
110
|
+
if (!projectTranslations[languageCode]) {
|
|
111
|
+
projectTranslations[languageCode] = {};
|
|
112
|
+
}
|
|
113
|
+
projectTranslations[languageCode] = translations.default || translations;
|
|
114
|
+
} catch (error) {
|
|
115
|
+
// Ignore individual language errors
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
/* eslint-disable-next-line no-console */
|
|
121
|
+
if (__DEV__) console.log('[i18n] ✅ Loaded project translations from alternative DDD structure');
|
|
122
|
+
} catch (e2) {
|
|
123
|
+
try {
|
|
124
|
+
// Try simple structure path
|
|
125
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
126
|
+
const projectLocalesContext = (require as any).context('../../../../../../src/locales', true, /\/index\.ts$/);
|
|
127
|
+
|
|
128
|
+
projectLocalesContext.keys().forEach((key: string) => {
|
|
129
|
+
const match = key.match(/\.\/([^/]+)\/index\.ts$/);
|
|
130
|
+
if (match) {
|
|
131
|
+
const languageCode = match[1];
|
|
132
|
+
try {
|
|
133
|
+
const translations = projectLocalesContext(key);
|
|
134
|
+
if (!projectTranslations[languageCode]) {
|
|
135
|
+
projectTranslations[languageCode] = {};
|
|
136
|
+
}
|
|
137
|
+
projectTranslations[languageCode] = translations.default || translations;
|
|
138
|
+
} catch (error) {
|
|
139
|
+
// Ignore individual language errors
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
/* eslint-disable-next-line no-console */
|
|
145
|
+
if (__DEV__) console.log('[i18n] ✅ Loaded project translations from simple structure');
|
|
146
|
+
} catch (e3) {
|
|
147
|
+
// No project translations found - this is OK, use package defaults only
|
|
148
|
+
/* eslint-disable-next-line no-console */
|
|
149
|
+
if (__DEV__) console.log('[i18n] ℹ️ No project-specific translations found, using package defaults only');
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
24
153
|
|
|
25
154
|
/**
|
|
26
155
|
* Translation Resources
|
|
27
|
-
*
|
|
28
|
-
*
|
|
156
|
+
* Merge package defaults with project-specific translations
|
|
157
|
+
* Project translations override package defaults (deep merge)
|
|
158
|
+
*/
|
|
159
|
+
const mergeTranslations = (packageTranslations: any, projectTranslations: any): any => {
|
|
160
|
+
if (!projectTranslations || Object.keys(projectTranslations).length === 0) {
|
|
161
|
+
return packageTranslations;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Deep merge: project translations override package defaults
|
|
165
|
+
const merged = { ...packageTranslations };
|
|
166
|
+
|
|
167
|
+
for (const key in projectTranslations) {
|
|
168
|
+
if (projectTranslations.hasOwnProperty(key)) {
|
|
169
|
+
if (
|
|
170
|
+
typeof projectTranslations[key] === 'object' &&
|
|
171
|
+
projectTranslations[key] !== null &&
|
|
172
|
+
!Array.isArray(projectTranslations[key]) &&
|
|
173
|
+
typeof packageTranslations[key] === 'object' &&
|
|
174
|
+
packageTranslations[key] !== null &&
|
|
175
|
+
!Array.isArray(packageTranslations[key])
|
|
176
|
+
) {
|
|
177
|
+
// Deep merge nested objects
|
|
178
|
+
merged[key] = mergeTranslations(packageTranslations[key], projectTranslations[key]);
|
|
179
|
+
} else {
|
|
180
|
+
// Override with project translation
|
|
181
|
+
merged[key] = projectTranslations[key];
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return merged;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Build resources object for all languages
|
|
191
|
+
* Automatically includes all package languages + project languages
|
|
29
192
|
*/
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
193
|
+
const buildResources = (): Record<string, { translation: any }> => {
|
|
194
|
+
const resources: Record<string, { translation: any }> = {};
|
|
195
|
+
|
|
196
|
+
// Get all unique language codes from both package and project translations
|
|
197
|
+
const allLanguageCodes = new Set([
|
|
198
|
+
...Object.keys(packageTranslations),
|
|
199
|
+
...Object.keys(projectTranslations),
|
|
200
|
+
]);
|
|
201
|
+
|
|
202
|
+
// Build resources for each language
|
|
203
|
+
allLanguageCodes.forEach((languageCode) => {
|
|
204
|
+
const packageTranslation = packageTranslations[languageCode] || {};
|
|
205
|
+
const projectTranslation = projectTranslations[languageCode] || {};
|
|
206
|
+
|
|
207
|
+
resources[languageCode] = {
|
|
208
|
+
translation: mergeTranslations(packageTranslation, projectTranslation),
|
|
209
|
+
};
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
/* eslint-disable-next-line no-console */
|
|
213
|
+
if (__DEV__) console.log(`[i18n] 📦 Loaded ${Object.keys(resources).length} languages:`, Object.keys(resources).join(', '));
|
|
214
|
+
|
|
215
|
+
return resources;
|
|
36
216
|
};
|
|
37
217
|
|
|
218
|
+
const resources = buildResources();
|
|
219
|
+
|
|
38
220
|
/**
|
|
39
221
|
* Initialize i18next
|
|
40
222
|
* Deferred initialization to avoid React Native renderer conflicts
|
|
@@ -1,49 +1,43 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Auto-
|
|
2
|
+
* Auto-loader for en-US translation modules
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* AUTOMATIC TRANSLATION FILE DETECTION:
|
|
5
|
+
* - Uses Metro bundler's require.context to auto-discover .json files
|
|
6
|
+
* - Adding new translation file = just create .json file (zero manual updates)
|
|
7
|
+
* - Build-time resolution (fast, no runtime overhead)
|
|
8
|
+
* - Works for all languages automatically
|
|
6
9
|
*
|
|
7
|
-
*
|
|
10
|
+
* OFFLINE-ONLY TRANSLATIONS (All domains work without backend):
|
|
11
|
+
* - Automatically imports ALL .json files in this directory
|
|
12
|
+
* - Alphabetically sorted for consistency
|
|
13
|
+
* - Type-safe with TypeScript
|
|
8
14
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* -
|
|
12
|
-
*
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
15
|
+
* USAGE:
|
|
16
|
+
* 1. Create new translation file: my_domain.json
|
|
17
|
+
* 2. File is auto-discovered and loaded
|
|
18
|
+
* 3. Access via t('my_domain.key')
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* This file is automatically generated by setup-languages.js script
|
|
21
|
+
* but can be manually edited if needed.
|
|
21
22
|
*/
|
|
22
23
|
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
const
|
|
26
|
-
const branding = require('./branding.json');
|
|
27
|
-
const datetime = require('./datetime.json');
|
|
28
|
-
const errors = require('./errors.json');
|
|
29
|
-
const flashcards = require('./flashcards.json');
|
|
30
|
-
const general = require('./general.json');
|
|
31
|
-
const navigation = require('./navigation.json');
|
|
32
|
-
const onboarding = require('./onboarding.json');
|
|
33
|
-
const settings = require('./settings.json');
|
|
24
|
+
// Metro bundler require.context - auto-discover all .json files
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
26
|
+
const translationContext = (require as any).context('./', false, /\.json$/);
|
|
34
27
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
28
|
+
/**
|
|
29
|
+
* Load all JSON modules automatically
|
|
30
|
+
* Extracts module name from path (e.g., './auth.json' -> 'auth')
|
|
31
|
+
*/
|
|
32
|
+
const translations: Record<string, any> = {};
|
|
33
|
+
|
|
34
|
+
translationContext.keys().forEach((key: string) => {
|
|
35
|
+
// Extract module name from path: './auth.json' -> 'auth'
|
|
36
|
+
const match = key.match(/\.\/([^/]+)\.json$/);
|
|
37
|
+
if (match) {
|
|
38
|
+
const moduleName = match[1];
|
|
39
|
+
translations[moduleName] = translationContext(key);
|
|
40
|
+
}
|
|
41
|
+
});
|
|
48
42
|
|
|
49
43
|
export default translations;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated translation loader for ar-SA
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by:
|
|
5
|
-
* npm run localization:create-loaders
|
|
6
|
-
*
|
|
7
|
-
* DO NOT EDIT THIS FILE MANUALLY!
|
|
8
|
-
*
|
|
9
|
-
* Translation Modules:
|
|
10
|
-
* - auth: auth.json
|
|
11
|
-
* - branding: branding.json
|
|
12
|
-
* - datetime: datetime.json
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
19
|
-
*
|
|
20
|
-
* Generated: 2025-11-06T20:57:31.286Z
|
|
21
|
-
*/
|
|
22
|
-
declare const translations: {
|
|
23
|
-
auth: any;
|
|
24
|
-
branding: any;
|
|
25
|
-
datetime: any;
|
|
26
|
-
errors: any;
|
|
27
|
-
flashcards: any;
|
|
28
|
-
general: any;
|
|
29
|
-
navigation: any;
|
|
30
|
-
onboarding: any;
|
|
31
|
-
settings: any;
|
|
32
|
-
};
|
|
33
|
-
export default translations;
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/locales/ar-SA/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAgBH,QAAA,MAAM,YAAY;;;;;;;;;;CAUjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated translation loader for ar-SA
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by:
|
|
5
|
-
* npm run localization:create-loaders
|
|
6
|
-
*
|
|
7
|
-
* DO NOT EDIT THIS FILE MANUALLY!
|
|
8
|
-
*
|
|
9
|
-
* Translation Modules:
|
|
10
|
-
* - auth: auth.json
|
|
11
|
-
* - branding: branding.json
|
|
12
|
-
* - datetime: datetime.json
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
19
|
-
*
|
|
20
|
-
* Generated: 2025-11-06T20:57:31.286Z
|
|
21
|
-
*/
|
|
22
|
-
// Import all translation modules
|
|
23
|
-
// Use require for JSON files to ensure proper Metro bundler handling
|
|
24
|
-
const auth = require('./auth.json');
|
|
25
|
-
const branding = require('./branding.json');
|
|
26
|
-
const datetime = require('./datetime.json');
|
|
27
|
-
const errors = require('./errors.json');
|
|
28
|
-
const flashcards = require('./flashcards.json');
|
|
29
|
-
const general = require('./general.json');
|
|
30
|
-
const navigation = require('./navigation.json');
|
|
31
|
-
const onboarding = require('./onboarding.json');
|
|
32
|
-
const settings = require('./settings.json');
|
|
33
|
-
// Merge all modules into a single translation object
|
|
34
|
-
// Using nested structure for better namespace organization
|
|
35
|
-
const translations = {
|
|
36
|
-
auth,
|
|
37
|
-
branding,
|
|
38
|
-
datetime,
|
|
39
|
-
errors,
|
|
40
|
-
flashcards,
|
|
41
|
-
general,
|
|
42
|
-
navigation,
|
|
43
|
-
onboarding,
|
|
44
|
-
settings,
|
|
45
|
-
};
|
|
46
|
-
export default translations;
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/infrastructure/locales/ar-SA/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,iCAAiC;AACjC,qEAAqE;AACrE,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AACxC,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAC1C,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE5C,qDAAqD;AACrD,2DAA2D;AAC3D,MAAM,YAAY,GAAG;IACnB,IAAI;IACJ,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,UAAU;IACV,OAAO;IACP,UAAU;IACV,UAAU;IACV,QAAQ;CACT,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated translation loader for bg-BG
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by:
|
|
5
|
-
* npm run localization:create-loaders
|
|
6
|
-
*
|
|
7
|
-
* DO NOT EDIT THIS FILE MANUALLY!
|
|
8
|
-
*
|
|
9
|
-
* Translation Modules:
|
|
10
|
-
* - auth: auth.json
|
|
11
|
-
* - branding: branding.json
|
|
12
|
-
* - datetime: datetime.json
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
19
|
-
*
|
|
20
|
-
* Generated: 2025-11-06T20:57:31.287Z
|
|
21
|
-
*/
|
|
22
|
-
declare const translations: {
|
|
23
|
-
auth: any;
|
|
24
|
-
branding: any;
|
|
25
|
-
datetime: any;
|
|
26
|
-
errors: any;
|
|
27
|
-
flashcards: any;
|
|
28
|
-
general: any;
|
|
29
|
-
navigation: any;
|
|
30
|
-
onboarding: any;
|
|
31
|
-
settings: any;
|
|
32
|
-
};
|
|
33
|
-
export default translations;
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/locales/bg-BG/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAgBH,QAAA,MAAM,YAAY;;;;;;;;;;CAUjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated translation loader for bg-BG
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by:
|
|
5
|
-
* npm run localization:create-loaders
|
|
6
|
-
*
|
|
7
|
-
* DO NOT EDIT THIS FILE MANUALLY!
|
|
8
|
-
*
|
|
9
|
-
* Translation Modules:
|
|
10
|
-
* - auth: auth.json
|
|
11
|
-
* - branding: branding.json
|
|
12
|
-
* - datetime: datetime.json
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
19
|
-
*
|
|
20
|
-
* Generated: 2025-11-06T20:57:31.287Z
|
|
21
|
-
*/
|
|
22
|
-
// Import all translation modules
|
|
23
|
-
// Use require for JSON files to ensure proper Metro bundler handling
|
|
24
|
-
const auth = require('./auth.json');
|
|
25
|
-
const branding = require('./branding.json');
|
|
26
|
-
const datetime = require('./datetime.json');
|
|
27
|
-
const errors = require('./errors.json');
|
|
28
|
-
const flashcards = require('./flashcards.json');
|
|
29
|
-
const general = require('./general.json');
|
|
30
|
-
const navigation = require('./navigation.json');
|
|
31
|
-
const onboarding = require('./onboarding.json');
|
|
32
|
-
const settings = require('./settings.json');
|
|
33
|
-
// Merge all modules into a single translation object
|
|
34
|
-
// Using nested structure for better namespace organization
|
|
35
|
-
const translations = {
|
|
36
|
-
auth,
|
|
37
|
-
branding,
|
|
38
|
-
datetime,
|
|
39
|
-
errors,
|
|
40
|
-
flashcards,
|
|
41
|
-
general,
|
|
42
|
-
navigation,
|
|
43
|
-
onboarding,
|
|
44
|
-
settings,
|
|
45
|
-
};
|
|
46
|
-
export default translations;
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/infrastructure/locales/bg-BG/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,iCAAiC;AACjC,qEAAqE;AACrE,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AACxC,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAC1C,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE5C,qDAAqD;AACrD,2DAA2D;AAC3D,MAAM,YAAY,GAAG;IACnB,IAAI;IACJ,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,UAAU;IACV,OAAO;IACP,UAAU;IACV,UAAU;IACV,QAAQ;CACT,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated translation loader for cs-CZ
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by:
|
|
5
|
-
* npm run localization:create-loaders
|
|
6
|
-
*
|
|
7
|
-
* DO NOT EDIT THIS FILE MANUALLY!
|
|
8
|
-
*
|
|
9
|
-
* Translation Modules:
|
|
10
|
-
* - auth: auth.json
|
|
11
|
-
* - branding: branding.json
|
|
12
|
-
* - datetime: datetime.json
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
19
|
-
*
|
|
20
|
-
* Generated: 2025-11-06T20:57:31.288Z
|
|
21
|
-
*/
|
|
22
|
-
declare const translations: {
|
|
23
|
-
auth: any;
|
|
24
|
-
branding: any;
|
|
25
|
-
datetime: any;
|
|
26
|
-
errors: any;
|
|
27
|
-
flashcards: any;
|
|
28
|
-
general: any;
|
|
29
|
-
navigation: any;
|
|
30
|
-
onboarding: any;
|
|
31
|
-
settings: any;
|
|
32
|
-
};
|
|
33
|
-
export default translations;
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/locales/cs-CZ/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAgBH,QAAA,MAAM,YAAY;;;;;;;;;;CAUjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated translation loader for cs-CZ
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by:
|
|
5
|
-
* npm run localization:create-loaders
|
|
6
|
-
*
|
|
7
|
-
* DO NOT EDIT THIS FILE MANUALLY!
|
|
8
|
-
*
|
|
9
|
-
* Translation Modules:
|
|
10
|
-
* - auth: auth.json
|
|
11
|
-
* - branding: branding.json
|
|
12
|
-
* - datetime: datetime.json
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
19
|
-
*
|
|
20
|
-
* Generated: 2025-11-06T20:57:31.288Z
|
|
21
|
-
*/
|
|
22
|
-
// Import all translation modules
|
|
23
|
-
// Use require for JSON files to ensure proper Metro bundler handling
|
|
24
|
-
const auth = require('./auth.json');
|
|
25
|
-
const branding = require('./branding.json');
|
|
26
|
-
const datetime = require('./datetime.json');
|
|
27
|
-
const errors = require('./errors.json');
|
|
28
|
-
const flashcards = require('./flashcards.json');
|
|
29
|
-
const general = require('./general.json');
|
|
30
|
-
const navigation = require('./navigation.json');
|
|
31
|
-
const onboarding = require('./onboarding.json');
|
|
32
|
-
const settings = require('./settings.json');
|
|
33
|
-
// Merge all modules into a single translation object
|
|
34
|
-
// Using nested structure for better namespace organization
|
|
35
|
-
const translations = {
|
|
36
|
-
auth,
|
|
37
|
-
branding,
|
|
38
|
-
datetime,
|
|
39
|
-
errors,
|
|
40
|
-
flashcards,
|
|
41
|
-
general,
|
|
42
|
-
navigation,
|
|
43
|
-
onboarding,
|
|
44
|
-
settings,
|
|
45
|
-
};
|
|
46
|
-
export default translations;
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/infrastructure/locales/cs-CZ/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,iCAAiC;AACjC,qEAAqE;AACrE,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AACxC,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAC1C,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAChD,MAAM,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE5C,qDAAqD;AACrD,2DAA2D;AAC3D,MAAM,YAAY,GAAG;IACnB,IAAI;IACJ,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,UAAU;IACV,OAAO;IACP,UAAU;IACV,UAAU;IACV,QAAQ;CACT,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated translation loader for da-DK
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by:
|
|
5
|
-
* npm run localization:create-loaders
|
|
6
|
-
*
|
|
7
|
-
* DO NOT EDIT THIS FILE MANUALLY!
|
|
8
|
-
*
|
|
9
|
-
* Translation Modules:
|
|
10
|
-
* - auth: auth.json
|
|
11
|
-
* - branding: branding.json
|
|
12
|
-
* - datetime: datetime.json
|
|
13
|
-
* - errors: errors.json
|
|
14
|
-
* - flashcards: flashcards.json
|
|
15
|
-
* - general: general.json
|
|
16
|
-
* - navigation: navigation.json
|
|
17
|
-
* - onboarding: onboarding.json
|
|
18
|
-
* - settings: settings.json
|
|
19
|
-
*
|
|
20
|
-
* Generated: 2025-11-06T20:57:31.288Z
|
|
21
|
-
*/
|
|
22
|
-
declare const translations: {
|
|
23
|
-
auth: any;
|
|
24
|
-
branding: any;
|
|
25
|
-
datetime: any;
|
|
26
|
-
errors: any;
|
|
27
|
-
flashcards: any;
|
|
28
|
-
general: any;
|
|
29
|
-
navigation: any;
|
|
30
|
-
onboarding: any;
|
|
31
|
-
settings: any;
|
|
32
|
-
};
|
|
33
|
-
export default translations;
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/locales/da-DK/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAgBH,QAAA,MAAM,YAAY;;;;;;;;;;CAUjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|