@umituz/react-native-localization 1.1.0 → 1.2.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/README.md +23 -0
- package/lib/infrastructure/config/i18n.d.ts +4 -1
- package/lib/infrastructure/config/i18n.d.ts.map +1 -1
- package/lib/infrastructure/config/i18n.js +204 -27
- package/lib/infrastructure/config/i18n.js.map +1 -1
- package/lib/infrastructure/config/languages.d.ts +1 -1
- package/lib/infrastructure/config/languages.d.ts.map +1 -1
- package/lib/infrastructure/config/languages.js +2 -2
- package/lib/infrastructure/config/languages.js.map +1 -1
- package/lib/infrastructure/config/languagesData.js +2 -2
- package/lib/infrastructure/config/languagesData.js.map +1 -1
- package/lib/infrastructure/locales/ar-SA/auth.json +32 -0
- package/lib/infrastructure/locales/ar-SA/branding.json +9 -0
- package/lib/infrastructure/locales/ar-SA/datetime.json +140 -0
- package/lib/infrastructure/locales/ar-SA/errors.json +43 -0
- package/lib/infrastructure/locales/ar-SA/flashcards.json +287 -0
- package/lib/infrastructure/locales/ar-SA/general.json +61 -0
- package/lib/infrastructure/locales/ar-SA/index.d.ts +778 -0
- package/lib/infrastructure/locales/ar-SA/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/ar-SA/index.js +46 -0
- package/lib/infrastructure/locales/ar-SA/index.js.map +1 -0
- package/lib/infrastructure/locales/ar-SA/navigation.json +58 -0
- package/lib/infrastructure/locales/ar-SA/onboarding.json +76 -0
- package/lib/infrastructure/locales/ar-SA/settings.json +53 -0
- package/lib/infrastructure/locales/bg-BG/auth.json +32 -0
- package/lib/infrastructure/locales/bg-BG/branding.json +9 -0
- package/lib/infrastructure/locales/bg-BG/datetime.json +140 -0
- package/lib/infrastructure/locales/bg-BG/errors.json +43 -0
- package/lib/infrastructure/locales/bg-BG/flashcards.json +287 -0
- package/lib/infrastructure/locales/bg-BG/general.json +61 -0
- package/lib/infrastructure/locales/bg-BG/index.d.ts +778 -0
- package/lib/infrastructure/locales/bg-BG/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/bg-BG/index.js +46 -0
- package/lib/infrastructure/locales/bg-BG/index.js.map +1 -0
- package/lib/infrastructure/locales/bg-BG/navigation.json +58 -0
- package/lib/infrastructure/locales/bg-BG/onboarding.json +76 -0
- package/lib/infrastructure/locales/bg-BG/settings.json +53 -0
- package/lib/infrastructure/locales/cs-CZ/branding.json +9 -0
- package/lib/infrastructure/locales/cs-CZ/datetime.json +140 -0
- package/lib/infrastructure/locales/cs-CZ/errors.json +43 -0
- package/lib/infrastructure/locales/cs-CZ/flashcards.json +287 -0
- package/lib/infrastructure/locales/cs-CZ/general.json +61 -0
- package/lib/infrastructure/locales/cs-CZ/index.d.ts +745 -0
- package/lib/infrastructure/locales/cs-CZ/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/cs-CZ/index.js +43 -0
- package/lib/infrastructure/locales/cs-CZ/index.js.map +1 -0
- package/lib/infrastructure/locales/cs-CZ/navigation.json +58 -0
- package/lib/infrastructure/locales/cs-CZ/onboarding.json +76 -0
- package/lib/infrastructure/locales/cs-CZ/settings.json +53 -0
- package/lib/infrastructure/locales/da-DK/branding.json +9 -0
- package/lib/infrastructure/locales/da-DK/datetime.json +140 -0
- package/lib/infrastructure/locales/da-DK/errors.json +43 -0
- package/lib/infrastructure/locales/da-DK/flashcards.json +287 -0
- package/lib/infrastructure/locales/da-DK/general.json +61 -0
- package/lib/infrastructure/locales/da-DK/index.d.ts +745 -0
- package/lib/infrastructure/locales/da-DK/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/da-DK/index.js +43 -0
- package/lib/infrastructure/locales/da-DK/index.js.map +1 -0
- package/lib/infrastructure/locales/da-DK/navigation.json +58 -0
- package/lib/infrastructure/locales/da-DK/onboarding.json +76 -0
- package/lib/infrastructure/locales/da-DK/settings.json +53 -0
- package/lib/infrastructure/locales/de-DE/branding.json +9 -0
- package/lib/infrastructure/locales/de-DE/datetime.json +140 -0
- package/lib/infrastructure/locales/de-DE/errors.json +43 -0
- package/lib/infrastructure/locales/de-DE/flashcards.json +287 -0
- package/lib/infrastructure/locales/de-DE/general.json +61 -0
- package/lib/infrastructure/locales/de-DE/index.d.ts +745 -0
- package/lib/infrastructure/locales/de-DE/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/de-DE/index.js +43 -0
- package/lib/infrastructure/locales/de-DE/index.js.map +1 -0
- package/lib/infrastructure/locales/de-DE/navigation.json +58 -0
- package/lib/infrastructure/locales/de-DE/onboarding.json +76 -0
- package/lib/infrastructure/locales/de-DE/settings.json +53 -0
- package/lib/infrastructure/locales/el-GR/branding.json +9 -0
- package/lib/infrastructure/locales/el-GR/datetime.json +140 -0
- package/lib/infrastructure/locales/el-GR/errors.json +43 -0
- package/lib/infrastructure/locales/el-GR/flashcards.json +287 -0
- package/lib/infrastructure/locales/el-GR/general.json +61 -0
- package/lib/infrastructure/locales/el-GR/index.d.ts +745 -0
- package/lib/infrastructure/locales/el-GR/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/el-GR/index.js +43 -0
- package/lib/infrastructure/locales/el-GR/index.js.map +1 -0
- package/lib/infrastructure/locales/el-GR/navigation.json +58 -0
- package/lib/infrastructure/locales/el-GR/onboarding.json +76 -0
- package/lib/infrastructure/locales/el-GR/settings.json +53 -0
- package/lib/infrastructure/locales/en-AU/branding.json +9 -0
- package/lib/infrastructure/locales/en-AU/datetime.json +140 -0
- package/lib/infrastructure/locales/en-AU/errors.json +43 -0
- package/lib/infrastructure/locales/en-AU/flashcards.json +77 -0
- package/lib/infrastructure/locales/en-AU/general.json +61 -0
- package/lib/infrastructure/locales/en-AU/index.d.ts +535 -0
- package/lib/infrastructure/locales/en-AU/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/en-AU/index.js +43 -0
- package/lib/infrastructure/locales/en-AU/index.js.map +1 -0
- package/lib/infrastructure/locales/en-AU/navigation.json +58 -0
- package/lib/infrastructure/locales/en-AU/onboarding.json +76 -0
- package/lib/infrastructure/locales/en-AU/settings.json +53 -0
- package/lib/infrastructure/locales/en-CA/branding.json +9 -0
- package/lib/infrastructure/locales/en-CA/datetime.json +140 -0
- package/lib/infrastructure/locales/en-CA/errors.json +43 -0
- package/lib/infrastructure/locales/en-CA/flashcards.json +77 -0
- package/lib/infrastructure/locales/en-CA/general.json +61 -0
- package/lib/infrastructure/locales/en-CA/index.d.ts +535 -0
- package/lib/infrastructure/locales/en-CA/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/en-CA/index.js +43 -0
- package/lib/infrastructure/locales/en-CA/index.js.map +1 -0
- package/lib/infrastructure/locales/en-CA/navigation.json +58 -0
- package/lib/infrastructure/locales/en-CA/onboarding.json +76 -0
- package/lib/infrastructure/locales/en-CA/settings.json +53 -0
- package/lib/infrastructure/locales/en-GB/branding.json +9 -0
- package/lib/infrastructure/locales/en-GB/datetime.json +140 -0
- package/lib/infrastructure/locales/en-GB/errors.json +43 -0
- package/lib/infrastructure/locales/en-GB/flashcards.json +77 -0
- package/lib/infrastructure/locales/en-GB/general.json +61 -0
- package/lib/infrastructure/locales/en-GB/index.d.ts +535 -0
- package/lib/infrastructure/locales/en-GB/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/en-GB/index.js +43 -0
- package/lib/infrastructure/locales/en-GB/index.js.map +1 -0
- package/lib/infrastructure/locales/en-GB/navigation.json +58 -0
- package/lib/infrastructure/locales/en-GB/onboarding.json +76 -0
- package/lib/infrastructure/locales/en-GB/settings.json +53 -0
- package/lib/infrastructure/locales/en-US/auth.json +32 -0
- package/lib/infrastructure/locales/en-US/branding.json +9 -0
- package/lib/infrastructure/locales/en-US/flashcards.json +310 -0
- package/lib/infrastructure/locales/en-US/general.json +6 -1
- package/lib/infrastructure/locales/en-US/index.d.ts +350 -332
- package/lib/infrastructure/locales/en-US/index.d.ts.map +1 -1
- package/lib/infrastructure/locales/en-US/index.js +30 -19
- package/lib/infrastructure/locales/en-US/index.js.map +1 -1
- package/lib/infrastructure/locales/en-US/navigation.json +4 -1
- package/lib/infrastructure/locales/en-US/settings.json +0 -12
- package/lib/infrastructure/locales/es-ES/branding.json +9 -0
- package/lib/infrastructure/locales/es-ES/datetime.json +140 -0
- package/lib/infrastructure/locales/es-ES/errors.json +43 -0
- package/lib/infrastructure/locales/es-ES/flashcards.json +287 -0
- package/lib/infrastructure/locales/es-ES/general.json +61 -0
- package/lib/infrastructure/locales/es-ES/index.d.ts +745 -0
- package/lib/infrastructure/locales/es-ES/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/es-ES/index.js +43 -0
- package/lib/infrastructure/locales/es-ES/index.js.map +1 -0
- package/lib/infrastructure/locales/es-ES/navigation.json +58 -0
- package/lib/infrastructure/locales/es-ES/onboarding.json +76 -0
- package/lib/infrastructure/locales/es-ES/settings.json +53 -0
- package/lib/infrastructure/locales/es-MX/branding.json +9 -0
- package/lib/infrastructure/locales/es-MX/datetime.json +140 -0
- package/lib/infrastructure/locales/es-MX/errors.json +43 -0
- package/lib/infrastructure/locales/es-MX/flashcards.json +276 -0
- package/lib/infrastructure/locales/es-MX/general.json +61 -0
- package/lib/infrastructure/locales/es-MX/index.d.ts +734 -0
- package/lib/infrastructure/locales/es-MX/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/es-MX/index.js +43 -0
- package/lib/infrastructure/locales/es-MX/index.js.map +1 -0
- package/lib/infrastructure/locales/es-MX/navigation.json +58 -0
- package/lib/infrastructure/locales/es-MX/onboarding.json +76 -0
- package/lib/infrastructure/locales/es-MX/settings.json +53 -0
- package/lib/infrastructure/locales/fi-FI/branding.json +9 -0
- package/lib/infrastructure/locales/fi-FI/datetime.json +140 -0
- package/lib/infrastructure/locales/fi-FI/errors.json +43 -0
- package/lib/infrastructure/locales/fi-FI/flashcards.json +287 -0
- package/lib/infrastructure/locales/fi-FI/general.json +61 -0
- package/lib/infrastructure/locales/fi-FI/index.d.ts +745 -0
- package/lib/infrastructure/locales/fi-FI/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/fi-FI/index.js +43 -0
- package/lib/infrastructure/locales/fi-FI/index.js.map +1 -0
- package/lib/infrastructure/locales/fi-FI/navigation.json +58 -0
- package/lib/infrastructure/locales/fi-FI/onboarding.json +76 -0
- package/lib/infrastructure/locales/fi-FI/settings.json +53 -0
- package/lib/infrastructure/locales/fr-CA/branding.json +9 -0
- package/lib/infrastructure/locales/fr-CA/datetime.json +140 -0
- package/lib/infrastructure/locales/fr-CA/errors.json +43 -0
- package/lib/infrastructure/locales/fr-CA/flashcards.json +287 -0
- package/lib/infrastructure/locales/fr-CA/general.json +61 -0
- package/lib/infrastructure/locales/fr-CA/index.d.ts +745 -0
- package/lib/infrastructure/locales/fr-CA/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/fr-CA/index.js +43 -0
- package/lib/infrastructure/locales/fr-CA/index.js.map +1 -0
- package/lib/infrastructure/locales/fr-CA/navigation.json +58 -0
- package/lib/infrastructure/locales/fr-CA/onboarding.json +76 -0
- package/lib/infrastructure/locales/fr-CA/settings.json +53 -0
- package/lib/infrastructure/locales/fr-FR/branding.json +9 -0
- package/lib/infrastructure/locales/fr-FR/datetime.json +140 -0
- package/lib/infrastructure/locales/fr-FR/errors.json +43 -0
- package/lib/infrastructure/locales/fr-FR/flashcards.json +287 -0
- package/lib/infrastructure/locales/fr-FR/general.json +61 -0
- package/lib/infrastructure/locales/fr-FR/index.d.ts +745 -0
- package/lib/infrastructure/locales/fr-FR/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/fr-FR/index.js +43 -0
- package/lib/infrastructure/locales/fr-FR/index.js.map +1 -0
- package/lib/infrastructure/locales/fr-FR/navigation.json +58 -0
- package/lib/infrastructure/locales/fr-FR/onboarding.json +76 -0
- package/lib/infrastructure/locales/fr-FR/settings.json +53 -0
- package/lib/infrastructure/locales/hi-IN/branding.json +9 -0
- package/lib/infrastructure/locales/hi-IN/datetime.json +140 -0
- package/lib/infrastructure/locales/hi-IN/errors.json +43 -0
- package/lib/infrastructure/locales/hi-IN/flashcards.json +287 -0
- package/lib/infrastructure/locales/hi-IN/general.json +61 -0
- package/lib/infrastructure/locales/hi-IN/index.d.ts +745 -0
- package/lib/infrastructure/locales/hi-IN/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/hi-IN/index.js +43 -0
- package/lib/infrastructure/locales/hi-IN/index.js.map +1 -0
- package/lib/infrastructure/locales/hi-IN/navigation.json +58 -0
- package/lib/infrastructure/locales/hi-IN/onboarding.json +76 -0
- package/lib/infrastructure/locales/hi-IN/settings.json +53 -0
- package/lib/infrastructure/locales/hr-HR/branding.json +9 -0
- package/lib/infrastructure/locales/hr-HR/datetime.json +140 -0
- package/lib/infrastructure/locales/hr-HR/errors.json +43 -0
- package/lib/infrastructure/locales/hr-HR/flashcards.json +276 -0
- package/lib/infrastructure/locales/hr-HR/general.json +61 -0
- package/lib/infrastructure/locales/hr-HR/index.d.ts +734 -0
- package/lib/infrastructure/locales/hr-HR/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/hr-HR/index.js +43 -0
- package/lib/infrastructure/locales/hr-HR/index.js.map +1 -0
- package/lib/infrastructure/locales/hr-HR/navigation.json +58 -0
- package/lib/infrastructure/locales/hr-HR/onboarding.json +76 -0
- package/lib/infrastructure/locales/hr-HR/settings.json +53 -0
- package/lib/infrastructure/locales/hu-HU/branding.json +9 -0
- package/lib/infrastructure/locales/hu-HU/datetime.json +140 -0
- package/lib/infrastructure/locales/hu-HU/errors.json +43 -0
- package/lib/infrastructure/locales/hu-HU/flashcards.json +287 -0
- package/lib/infrastructure/locales/hu-HU/general.json +61 -0
- package/lib/infrastructure/locales/hu-HU/index.d.ts +745 -0
- package/lib/infrastructure/locales/hu-HU/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/hu-HU/index.js +43 -0
- package/lib/infrastructure/locales/hu-HU/index.js.map +1 -0
- package/lib/infrastructure/locales/hu-HU/navigation.json +58 -0
- package/lib/infrastructure/locales/hu-HU/onboarding.json +76 -0
- package/lib/infrastructure/locales/hu-HU/settings.json +53 -0
- package/lib/infrastructure/locales/id-ID/branding.json +9 -0
- package/lib/infrastructure/locales/id-ID/datetime.json +140 -0
- package/lib/infrastructure/locales/id-ID/errors.json +43 -0
- package/lib/infrastructure/locales/id-ID/flashcards.json +287 -0
- package/lib/infrastructure/locales/id-ID/general.json +61 -0
- package/lib/infrastructure/locales/id-ID/index.d.ts +745 -0
- package/lib/infrastructure/locales/id-ID/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/id-ID/index.js +43 -0
- package/lib/infrastructure/locales/id-ID/index.js.map +1 -0
- package/lib/infrastructure/locales/id-ID/navigation.json +58 -0
- package/lib/infrastructure/locales/id-ID/onboarding.json +76 -0
- package/lib/infrastructure/locales/id-ID/settings.json +53 -0
- package/lib/infrastructure/locales/it-IT/branding.json +9 -0
- package/lib/infrastructure/locales/it-IT/datetime.json +140 -0
- package/lib/infrastructure/locales/it-IT/errors.json +43 -0
- package/lib/infrastructure/locales/it-IT/flashcards.json +287 -0
- package/lib/infrastructure/locales/it-IT/general.json +61 -0
- package/lib/infrastructure/locales/it-IT/index.d.ts +745 -0
- package/lib/infrastructure/locales/it-IT/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/it-IT/index.js +43 -0
- package/lib/infrastructure/locales/it-IT/index.js.map +1 -0
- package/lib/infrastructure/locales/it-IT/navigation.json +58 -0
- package/lib/infrastructure/locales/it-IT/onboarding.json +76 -0
- package/lib/infrastructure/locales/it-IT/settings.json +53 -0
- package/lib/infrastructure/locales/ja-JP/branding.json +9 -0
- package/lib/infrastructure/locales/ja-JP/datetime.json +140 -0
- package/lib/infrastructure/locales/ja-JP/errors.json +43 -0
- package/lib/infrastructure/locales/ja-JP/flashcards.json +287 -0
- package/lib/infrastructure/locales/ja-JP/general.json +61 -0
- package/lib/infrastructure/locales/ja-JP/index.d.ts +745 -0
- package/lib/infrastructure/locales/ja-JP/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/ja-JP/index.js +43 -0
- package/lib/infrastructure/locales/ja-JP/index.js.map +1 -0
- package/lib/infrastructure/locales/ja-JP/navigation.json +58 -0
- package/lib/infrastructure/locales/ja-JP/onboarding.json +76 -0
- package/lib/infrastructure/locales/ja-JP/settings.json +53 -0
- package/lib/infrastructure/locales/ko-KR/branding.json +9 -0
- package/lib/infrastructure/locales/ko-KR/datetime.json +140 -0
- package/lib/infrastructure/locales/ko-KR/errors.json +43 -0
- package/lib/infrastructure/locales/ko-KR/flashcards.json +287 -0
- package/lib/infrastructure/locales/ko-KR/general.json +61 -0
- package/lib/infrastructure/locales/ko-KR/index.d.ts +745 -0
- package/lib/infrastructure/locales/ko-KR/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/ko-KR/index.js +43 -0
- package/lib/infrastructure/locales/ko-KR/index.js.map +1 -0
- package/lib/infrastructure/locales/ko-KR/navigation.json +58 -0
- package/lib/infrastructure/locales/ko-KR/onboarding.json +76 -0
- package/lib/infrastructure/locales/ko-KR/settings.json +53 -0
- package/lib/infrastructure/locales/ms-MY/branding.json +9 -0
- package/lib/infrastructure/locales/ms-MY/datetime.json +140 -0
- package/lib/infrastructure/locales/ms-MY/errors.json +43 -0
- package/lib/infrastructure/locales/ms-MY/flashcards.json +287 -0
- package/lib/infrastructure/locales/ms-MY/general.json +61 -0
- package/lib/infrastructure/locales/ms-MY/index.d.ts +745 -0
- package/lib/infrastructure/locales/ms-MY/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/ms-MY/index.js +43 -0
- package/lib/infrastructure/locales/ms-MY/index.js.map +1 -0
- package/lib/infrastructure/locales/ms-MY/navigation.json +58 -0
- package/lib/infrastructure/locales/ms-MY/onboarding.json +76 -0
- package/lib/infrastructure/locales/ms-MY/settings.json +53 -0
- package/lib/infrastructure/locales/nl-NL/branding.json +9 -0
- package/lib/infrastructure/locales/nl-NL/datetime.json +140 -0
- package/lib/infrastructure/locales/nl-NL/errors.json +43 -0
- package/lib/infrastructure/locales/nl-NL/flashcards.json +287 -0
- package/lib/infrastructure/locales/nl-NL/general.json +61 -0
- package/lib/infrastructure/locales/nl-NL/index.d.ts +745 -0
- package/lib/infrastructure/locales/nl-NL/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/nl-NL/index.js +43 -0
- package/lib/infrastructure/locales/nl-NL/index.js.map +1 -0
- package/lib/infrastructure/locales/nl-NL/navigation.json +58 -0
- package/lib/infrastructure/locales/nl-NL/onboarding.json +76 -0
- package/lib/infrastructure/locales/nl-NL/settings.json +53 -0
- package/lib/infrastructure/locales/no-NO/branding.json +9 -0
- package/lib/infrastructure/locales/no-NO/datetime.json +140 -0
- package/lib/infrastructure/locales/no-NO/errors.json +43 -0
- package/lib/infrastructure/locales/no-NO/flashcards.json +287 -0
- package/lib/infrastructure/locales/no-NO/general.json +61 -0
- package/lib/infrastructure/locales/no-NO/index.d.ts +745 -0
- package/lib/infrastructure/locales/no-NO/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/no-NO/index.js +43 -0
- package/lib/infrastructure/locales/no-NO/index.js.map +1 -0
- package/lib/infrastructure/locales/no-NO/navigation.json +58 -0
- package/lib/infrastructure/locales/no-NO/onboarding.json +76 -0
- package/lib/infrastructure/locales/no-NO/settings.json +53 -0
- package/lib/infrastructure/locales/pl-PL/branding.json +9 -0
- package/lib/infrastructure/locales/pl-PL/datetime.json +140 -0
- package/lib/infrastructure/locales/pl-PL/errors.json +43 -0
- package/lib/infrastructure/locales/pl-PL/flashcards.json +287 -0
- package/lib/infrastructure/locales/pl-PL/general.json +61 -0
- package/lib/infrastructure/locales/pl-PL/index.d.ts +745 -0
- package/lib/infrastructure/locales/pl-PL/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/pl-PL/index.js +43 -0
- package/lib/infrastructure/locales/pl-PL/index.js.map +1 -0
- package/lib/infrastructure/locales/pl-PL/navigation.json +58 -0
- package/lib/infrastructure/locales/pl-PL/onboarding.json +76 -0
- package/lib/infrastructure/locales/pl-PL/settings.json +53 -0
- package/lib/infrastructure/locales/pt-BR/branding.json +9 -0
- package/lib/infrastructure/locales/pt-BR/datetime.json +140 -0
- package/lib/infrastructure/locales/pt-BR/errors.json +43 -0
- package/lib/infrastructure/locales/pt-BR/flashcards.json +287 -0
- package/lib/infrastructure/locales/pt-BR/general.json +61 -0
- package/lib/infrastructure/locales/pt-BR/index.d.ts +745 -0
- package/lib/infrastructure/locales/pt-BR/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/pt-BR/index.js +43 -0
- package/lib/infrastructure/locales/pt-BR/index.js.map +1 -0
- package/lib/infrastructure/locales/pt-BR/navigation.json +58 -0
- package/lib/infrastructure/locales/pt-BR/onboarding.json +76 -0
- package/lib/infrastructure/locales/pt-BR/settings.json +53 -0
- package/lib/infrastructure/locales/pt-PT/branding.json +9 -0
- package/lib/infrastructure/locales/pt-PT/datetime.json +140 -0
- package/lib/infrastructure/locales/pt-PT/errors.json +43 -0
- package/lib/infrastructure/locales/pt-PT/flashcards.json +287 -0
- package/lib/infrastructure/locales/pt-PT/general.json +61 -0
- package/lib/infrastructure/locales/pt-PT/index.d.ts +745 -0
- package/lib/infrastructure/locales/pt-PT/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/pt-PT/index.js +43 -0
- package/lib/infrastructure/locales/pt-PT/index.js.map +1 -0
- package/lib/infrastructure/locales/pt-PT/navigation.json +58 -0
- package/lib/infrastructure/locales/pt-PT/onboarding.json +76 -0
- package/lib/infrastructure/locales/pt-PT/settings.json +53 -0
- package/lib/infrastructure/locales/ro-RO/branding.json +9 -0
- package/lib/infrastructure/locales/ro-RO/datetime.json +140 -0
- package/lib/infrastructure/locales/ro-RO/errors.json +43 -0
- package/lib/infrastructure/locales/ro-RO/flashcards.json +287 -0
- package/lib/infrastructure/locales/ro-RO/general.json +61 -0
- package/lib/infrastructure/locales/ro-RO/index.d.ts +745 -0
- package/lib/infrastructure/locales/ro-RO/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/ro-RO/index.js +43 -0
- package/lib/infrastructure/locales/ro-RO/index.js.map +1 -0
- package/lib/infrastructure/locales/ro-RO/navigation.json +58 -0
- package/lib/infrastructure/locales/ro-RO/onboarding.json +76 -0
- package/lib/infrastructure/locales/ro-RO/settings.json +53 -0
- package/lib/infrastructure/locales/ru-RU/branding.json +9 -0
- package/lib/infrastructure/locales/ru-RU/datetime.json +140 -0
- package/lib/infrastructure/locales/ru-RU/errors.json +43 -0
- package/lib/infrastructure/locales/ru-RU/flashcards.json +276 -0
- package/lib/infrastructure/locales/ru-RU/general.json +61 -0
- package/lib/infrastructure/locales/ru-RU/index.d.ts +734 -0
- package/lib/infrastructure/locales/ru-RU/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/ru-RU/index.js +43 -0
- package/lib/infrastructure/locales/ru-RU/index.js.map +1 -0
- package/lib/infrastructure/locales/ru-RU/navigation.json +58 -0
- package/lib/infrastructure/locales/ru-RU/onboarding.json +76 -0
- package/lib/infrastructure/locales/ru-RU/settings.json +53 -0
- package/lib/infrastructure/locales/sk-SK/branding.json +9 -0
- package/lib/infrastructure/locales/sk-SK/datetime.json +140 -0
- package/lib/infrastructure/locales/sk-SK/errors.json +43 -0
- package/lib/infrastructure/locales/sk-SK/flashcards.json +287 -0
- package/lib/infrastructure/locales/sk-SK/general.json +61 -0
- package/lib/infrastructure/locales/sk-SK/index.d.ts +745 -0
- package/lib/infrastructure/locales/sk-SK/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/sk-SK/index.js +43 -0
- package/lib/infrastructure/locales/sk-SK/index.js.map +1 -0
- package/lib/infrastructure/locales/sk-SK/navigation.json +58 -0
- package/lib/infrastructure/locales/sk-SK/onboarding.json +76 -0
- package/lib/infrastructure/locales/sk-SK/settings.json +53 -0
- package/lib/infrastructure/locales/sv-SE/branding.json +9 -0
- package/lib/infrastructure/locales/sv-SE/datetime.json +140 -0
- package/lib/infrastructure/locales/sv-SE/errors.json +43 -0
- package/lib/infrastructure/locales/sv-SE/flashcards.json +287 -0
- package/lib/infrastructure/locales/sv-SE/general.json +61 -0
- package/lib/infrastructure/locales/sv-SE/index.d.ts +745 -0
- package/lib/infrastructure/locales/sv-SE/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/sv-SE/index.js +43 -0
- package/lib/infrastructure/locales/sv-SE/index.js.map +1 -0
- package/lib/infrastructure/locales/sv-SE/navigation.json +58 -0
- package/lib/infrastructure/locales/sv-SE/onboarding.json +76 -0
- package/lib/infrastructure/locales/sv-SE/settings.json +53 -0
- package/lib/infrastructure/locales/th-TH/branding.json +9 -0
- package/lib/infrastructure/locales/th-TH/datetime.json +140 -0
- package/lib/infrastructure/locales/th-TH/errors.json +43 -0
- package/lib/infrastructure/locales/th-TH/flashcards.json +287 -0
- package/lib/infrastructure/locales/th-TH/general.json +61 -0
- package/lib/infrastructure/locales/th-TH/index.d.ts +745 -0
- package/lib/infrastructure/locales/th-TH/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/th-TH/index.js +43 -0
- package/lib/infrastructure/locales/th-TH/index.js.map +1 -0
- package/lib/infrastructure/locales/th-TH/navigation.json +58 -0
- package/lib/infrastructure/locales/th-TH/onboarding.json +76 -0
- package/lib/infrastructure/locales/th-TH/settings.json +53 -0
- package/lib/infrastructure/locales/tl-PH/branding.json +9 -0
- package/lib/infrastructure/locales/tl-PH/datetime.json +140 -0
- package/lib/infrastructure/locales/tl-PH/errors.json +43 -0
- package/lib/infrastructure/locales/tl-PH/flashcards.json +287 -0
- package/lib/infrastructure/locales/tl-PH/general.json +61 -0
- package/lib/infrastructure/locales/tl-PH/index.d.ts +745 -0
- package/lib/infrastructure/locales/tl-PH/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/tl-PH/index.js +43 -0
- package/lib/infrastructure/locales/tl-PH/index.js.map +1 -0
- package/lib/infrastructure/locales/tl-PH/navigation.json +58 -0
- package/lib/infrastructure/locales/tl-PH/onboarding.json +76 -0
- package/lib/infrastructure/locales/tl-PH/settings.json +53 -0
- package/lib/infrastructure/locales/tr-TR/branding.json +9 -0
- package/lib/infrastructure/locales/tr-TR/datetime.json +140 -0
- package/lib/infrastructure/locales/tr-TR/errors.json +43 -0
- package/lib/infrastructure/locales/tr-TR/flashcards.json +287 -0
- package/lib/infrastructure/locales/tr-TR/general.json +61 -0
- package/lib/infrastructure/locales/tr-TR/index.d.ts +745 -0
- package/lib/infrastructure/locales/tr-TR/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/tr-TR/index.js +43 -0
- package/lib/infrastructure/locales/tr-TR/index.js.map +1 -0
- package/lib/infrastructure/locales/tr-TR/navigation.json +58 -0
- package/lib/infrastructure/locales/tr-TR/onboarding.json +76 -0
- package/lib/infrastructure/locales/tr-TR/settings.json +53 -0
- package/lib/infrastructure/locales/uk-UA/branding.json +9 -0
- package/lib/infrastructure/locales/uk-UA/datetime.json +140 -0
- package/lib/infrastructure/locales/uk-UA/errors.json +43 -0
- package/lib/infrastructure/locales/uk-UA/flashcards.json +287 -0
- package/lib/infrastructure/locales/uk-UA/general.json +61 -0
- package/lib/infrastructure/locales/uk-UA/index.d.ts +745 -0
- package/lib/infrastructure/locales/uk-UA/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/uk-UA/index.js +43 -0
- package/lib/infrastructure/locales/uk-UA/index.js.map +1 -0
- package/lib/infrastructure/locales/uk-UA/navigation.json +58 -0
- package/lib/infrastructure/locales/uk-UA/onboarding.json +76 -0
- package/lib/infrastructure/locales/uk-UA/settings.json +53 -0
- package/lib/infrastructure/locales/vi-VN/branding.json +9 -0
- package/lib/infrastructure/locales/vi-VN/datetime.json +140 -0
- package/lib/infrastructure/locales/vi-VN/errors.json +43 -0
- package/lib/infrastructure/locales/vi-VN/flashcards.json +287 -0
- package/lib/infrastructure/locales/vi-VN/general.json +61 -0
- package/lib/infrastructure/locales/vi-VN/index.d.ts +745 -0
- package/lib/infrastructure/locales/vi-VN/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/vi-VN/index.js +43 -0
- package/lib/infrastructure/locales/vi-VN/index.js.map +1 -0
- package/lib/infrastructure/locales/vi-VN/navigation.json +58 -0
- package/lib/infrastructure/locales/vi-VN/onboarding.json +76 -0
- package/lib/infrastructure/locales/vi-VN/settings.json +53 -0
- package/lib/infrastructure/locales/zh-CN/branding.json +9 -0
- package/lib/infrastructure/locales/zh-CN/datetime.json +140 -0
- package/lib/infrastructure/locales/zh-CN/errors.json +43 -0
- package/lib/infrastructure/locales/zh-CN/flashcards.json +287 -0
- package/lib/infrastructure/locales/zh-CN/general.json +61 -0
- package/lib/infrastructure/locales/zh-CN/index.d.ts +745 -0
- package/lib/infrastructure/locales/zh-CN/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/zh-CN/index.js +43 -0
- package/lib/infrastructure/locales/zh-CN/index.js.map +1 -0
- package/lib/infrastructure/locales/zh-CN/navigation.json +58 -0
- package/lib/infrastructure/locales/zh-CN/onboarding.json +76 -0
- package/lib/infrastructure/locales/zh-CN/settings.json +53 -0
- package/lib/infrastructure/locales/zh-TW/branding.json +9 -0
- package/lib/infrastructure/locales/zh-TW/datetime.json +140 -0
- package/lib/infrastructure/locales/zh-TW/errors.json +43 -0
- package/lib/infrastructure/locales/zh-TW/flashcards.json +287 -0
- package/lib/infrastructure/locales/zh-TW/general.json +61 -0
- package/lib/infrastructure/locales/zh-TW/index.d.ts +745 -0
- package/lib/infrastructure/locales/zh-TW/index.d.ts.map +1 -0
- package/lib/infrastructure/locales/zh-TW/index.js +43 -0
- package/lib/infrastructure/locales/zh-TW/index.js.map +1 -0
- package/lib/infrastructure/locales/zh-TW/navigation.json +58 -0
- package/lib/infrastructure/locales/zh-TW/onboarding.json +76 -0
- package/lib/infrastructure/locales/zh-TW/settings.json +53 -0
- package/lib/infrastructure/storage/AsyncStorageWrapper.d.ts.map +1 -1
- package/lib/infrastructure/storage/AsyncStorageWrapper.js +6 -2
- package/lib/infrastructure/storage/AsyncStorageWrapper.js.map +1 -1
- package/lib/infrastructure/storage/LocalizationStore.d.ts +7 -2
- package/lib/infrastructure/storage/LocalizationStore.d.ts.map +1 -1
- package/lib/infrastructure/storage/LocalizationStore.js +116 -35
- package/lib/infrastructure/storage/LocalizationStore.js.map +1 -1
- package/package.json +3 -1
- package/scripts/createLocaleLoaders.js +178 -0
- package/src/infrastructure/config/i18n.ts +195 -27
- package/src/infrastructure/config/languages.ts +3 -3
- package/src/infrastructure/config/languagesData.ts +3 -2
- package/src/infrastructure/locales/ar-SA/auth.json +32 -0
- package/src/infrastructure/locales/ar-SA/branding.json +9 -0
- package/src/infrastructure/locales/ar-SA/datetime.json +140 -0
- package/src/infrastructure/locales/ar-SA/errors.json +43 -0
- package/src/infrastructure/locales/ar-SA/flashcards.json +287 -0
- package/src/infrastructure/locales/ar-SA/general.json +61 -0
- package/src/infrastructure/locales/ar-SA/index.ts +48 -0
- package/src/infrastructure/locales/ar-SA/navigation.json +58 -0
- package/src/infrastructure/locales/ar-SA/onboarding.json +76 -0
- package/src/infrastructure/locales/ar-SA/settings.json +53 -0
- package/src/infrastructure/locales/bg-BG/auth.json +32 -0
- package/src/infrastructure/locales/bg-BG/branding.json +9 -0
- package/src/infrastructure/locales/bg-BG/datetime.json +140 -0
- package/src/infrastructure/locales/bg-BG/errors.json +43 -0
- package/src/infrastructure/locales/bg-BG/flashcards.json +287 -0
- package/src/infrastructure/locales/bg-BG/general.json +61 -0
- package/src/infrastructure/locales/bg-BG/index.ts +48 -0
- package/src/infrastructure/locales/bg-BG/navigation.json +58 -0
- package/src/infrastructure/locales/bg-BG/onboarding.json +76 -0
- package/src/infrastructure/locales/bg-BG/settings.json +53 -0
- package/src/infrastructure/locales/cs-CZ/auth.json +32 -0
- package/src/infrastructure/locales/cs-CZ/branding.json +9 -0
- package/src/infrastructure/locales/cs-CZ/datetime.json +140 -0
- package/src/infrastructure/locales/cs-CZ/errors.json +43 -0
- package/src/infrastructure/locales/cs-CZ/flashcards.json +287 -0
- package/src/infrastructure/locales/cs-CZ/general.json +61 -0
- package/src/infrastructure/locales/cs-CZ/index.ts +45 -0
- package/src/infrastructure/locales/cs-CZ/navigation.json +58 -0
- package/src/infrastructure/locales/cs-CZ/onboarding.json +76 -0
- package/src/infrastructure/locales/cs-CZ/settings.json +53 -0
- package/src/infrastructure/locales/da-DK/auth.json +32 -0
- package/src/infrastructure/locales/da-DK/branding.json +9 -0
- package/src/infrastructure/locales/da-DK/datetime.json +140 -0
- package/src/infrastructure/locales/da-DK/errors.json +43 -0
- package/src/infrastructure/locales/da-DK/flashcards.json +287 -0
- package/src/infrastructure/locales/da-DK/general.json +61 -0
- package/src/infrastructure/locales/da-DK/index.ts +45 -0
- package/src/infrastructure/locales/da-DK/navigation.json +58 -0
- package/src/infrastructure/locales/da-DK/onboarding.json +76 -0
- package/src/infrastructure/locales/da-DK/settings.json +53 -0
- package/src/infrastructure/locales/de-DE/auth.json +32 -0
- package/src/infrastructure/locales/de-DE/branding.json +9 -0
- package/src/infrastructure/locales/de-DE/datetime.json +140 -0
- package/src/infrastructure/locales/de-DE/errors.json +43 -0
- package/src/infrastructure/locales/de-DE/flashcards.json +287 -0
- package/src/infrastructure/locales/de-DE/general.json +61 -0
- package/src/infrastructure/locales/de-DE/index.ts +45 -0
- package/src/infrastructure/locales/de-DE/navigation.json +58 -0
- package/src/infrastructure/locales/de-DE/onboarding.json +76 -0
- package/src/infrastructure/locales/de-DE/settings.json +53 -0
- package/src/infrastructure/locales/el-GR/auth.json +32 -0
- package/src/infrastructure/locales/el-GR/branding.json +9 -0
- package/src/infrastructure/locales/el-GR/datetime.json +140 -0
- package/src/infrastructure/locales/el-GR/errors.json +43 -0
- package/src/infrastructure/locales/el-GR/flashcards.json +287 -0
- package/src/infrastructure/locales/el-GR/general.json +61 -0
- package/src/infrastructure/locales/el-GR/index.ts +45 -0
- package/src/infrastructure/locales/el-GR/navigation.json +58 -0
- package/src/infrastructure/locales/el-GR/onboarding.json +76 -0
- package/src/infrastructure/locales/el-GR/settings.json +53 -0
- package/src/infrastructure/locales/en-AU/branding.json +11 -0
- package/src/infrastructure/locales/en-AU/datetime.json +140 -0
- package/src/infrastructure/locales/en-AU/errors.json +43 -0
- package/src/infrastructure/locales/en-AU/flashcards.json +83 -0
- package/src/infrastructure/locales/en-AU/general.json +61 -0
- package/src/infrastructure/locales/en-AU/index.ts +45 -0
- package/src/infrastructure/locales/en-AU/navigation.json +58 -0
- package/src/infrastructure/locales/en-AU/onboarding.json +76 -0
- package/src/infrastructure/locales/en-AU/settings.json +53 -0
- package/src/infrastructure/locales/en-CA/branding.json +11 -0
- package/src/infrastructure/locales/en-CA/datetime.json +140 -0
- package/src/infrastructure/locales/en-CA/errors.json +43 -0
- package/src/infrastructure/locales/en-CA/flashcards.json +83 -0
- package/src/infrastructure/locales/en-CA/general.json +61 -0
- package/src/infrastructure/locales/en-CA/index.ts +45 -0
- package/src/infrastructure/locales/en-CA/navigation.json +58 -0
- package/src/infrastructure/locales/en-CA/onboarding.json +76 -0
- package/src/infrastructure/locales/en-CA/settings.json +53 -0
- package/src/infrastructure/locales/en-GB/branding.json +11 -0
- package/src/infrastructure/locales/en-GB/datetime.json +140 -0
- package/src/infrastructure/locales/en-GB/errors.json +43 -0
- package/src/infrastructure/locales/en-GB/flashcards.json +83 -0
- package/src/infrastructure/locales/en-GB/general.json +61 -0
- package/src/infrastructure/locales/en-GB/index.ts +45 -0
- package/src/infrastructure/locales/en-GB/navigation.json +58 -0
- package/src/infrastructure/locales/en-GB/onboarding.json +76 -0
- package/src/infrastructure/locales/en-GB/settings.json +53 -0
- package/src/infrastructure/locales/en-US/auth.json +32 -0
- package/src/infrastructure/locales/en-US/branding.json +11 -0
- package/src/infrastructure/locales/en-US/flashcards.json +310 -0
- package/src/infrastructure/locales/en-US/general.json +6 -1
- package/src/infrastructure/locales/en-US/index.ts +31 -19
- package/src/infrastructure/locales/en-US/navigation.json +4 -1
- package/src/infrastructure/locales/en-US/settings.json +0 -12
- package/src/infrastructure/locales/es-ES/auth.json +32 -0
- package/src/infrastructure/locales/es-ES/branding.json +9 -0
- package/src/infrastructure/locales/es-ES/datetime.json +140 -0
- package/src/infrastructure/locales/es-ES/errors.json +43 -0
- package/src/infrastructure/locales/es-ES/flashcards.json +287 -0
- package/src/infrastructure/locales/es-ES/general.json +61 -0
- package/src/infrastructure/locales/es-ES/index.ts +45 -0
- package/src/infrastructure/locales/es-ES/navigation.json +58 -0
- package/src/infrastructure/locales/es-ES/onboarding.json +76 -0
- package/src/infrastructure/locales/es-ES/settings.json +53 -0
- package/src/infrastructure/locales/es-MX/auth.json +32 -0
- package/src/infrastructure/locales/es-MX/branding.json +9 -0
- package/src/infrastructure/locales/es-MX/datetime.json +140 -0
- package/src/infrastructure/locales/es-MX/errors.json +43 -0
- package/src/infrastructure/locales/es-MX/flashcards.json +276 -0
- package/src/infrastructure/locales/es-MX/general.json +61 -0
- package/src/infrastructure/locales/es-MX/index.ts +45 -0
- package/src/infrastructure/locales/es-MX/navigation.json +58 -0
- package/src/infrastructure/locales/es-MX/onboarding.json +76 -0
- package/src/infrastructure/locales/es-MX/settings.json +53 -0
- package/src/infrastructure/locales/fi-FI/auth.json +32 -0
- package/src/infrastructure/locales/fi-FI/branding.json +9 -0
- package/src/infrastructure/locales/fi-FI/datetime.json +140 -0
- package/src/infrastructure/locales/fi-FI/errors.json +43 -0
- package/src/infrastructure/locales/fi-FI/flashcards.json +287 -0
- package/src/infrastructure/locales/fi-FI/general.json +61 -0
- package/src/infrastructure/locales/fi-FI/index.ts +45 -0
- package/src/infrastructure/locales/fi-FI/navigation.json +58 -0
- package/src/infrastructure/locales/fi-FI/onboarding.json +76 -0
- package/src/infrastructure/locales/fi-FI/settings.json +53 -0
- package/src/infrastructure/locales/fr-CA/auth.json +32 -0
- package/src/infrastructure/locales/fr-CA/branding.json +9 -0
- package/src/infrastructure/locales/fr-CA/datetime.json +140 -0
- package/src/infrastructure/locales/fr-CA/errors.json +43 -0
- package/src/infrastructure/locales/fr-CA/flashcards.json +287 -0
- package/src/infrastructure/locales/fr-CA/general.json +61 -0
- package/src/infrastructure/locales/fr-CA/index.ts +45 -0
- package/src/infrastructure/locales/fr-CA/navigation.json +58 -0
- package/src/infrastructure/locales/fr-CA/onboarding.json +76 -0
- package/src/infrastructure/locales/fr-CA/settings.json +53 -0
- package/src/infrastructure/locales/fr-FR/auth.json +32 -0
- package/src/infrastructure/locales/fr-FR/branding.json +9 -0
- package/src/infrastructure/locales/fr-FR/datetime.json +140 -0
- package/src/infrastructure/locales/fr-FR/errors.json +43 -0
- package/src/infrastructure/locales/fr-FR/flashcards.json +287 -0
- package/src/infrastructure/locales/fr-FR/general.json +61 -0
- package/src/infrastructure/locales/fr-FR/index.ts +45 -0
- package/src/infrastructure/locales/fr-FR/navigation.json +58 -0
- package/src/infrastructure/locales/fr-FR/onboarding.json +76 -0
- package/src/infrastructure/locales/fr-FR/settings.json +53 -0
- package/src/infrastructure/locales/hi-IN/auth.json +32 -0
- package/src/infrastructure/locales/hi-IN/branding.json +9 -0
- package/src/infrastructure/locales/hi-IN/datetime.json +140 -0
- package/src/infrastructure/locales/hi-IN/errors.json +43 -0
- package/src/infrastructure/locales/hi-IN/flashcards.json +287 -0
- package/src/infrastructure/locales/hi-IN/general.json +61 -0
- package/src/infrastructure/locales/hi-IN/index.ts +45 -0
- package/src/infrastructure/locales/hi-IN/navigation.json +58 -0
- package/src/infrastructure/locales/hi-IN/onboarding.json +76 -0
- package/src/infrastructure/locales/hi-IN/settings.json +53 -0
- package/src/infrastructure/locales/hr-HR/auth.json +32 -0
- package/src/infrastructure/locales/hr-HR/branding.json +9 -0
- package/src/infrastructure/locales/hr-HR/datetime.json +140 -0
- package/src/infrastructure/locales/hr-HR/errors.json +43 -0
- package/src/infrastructure/locales/hr-HR/flashcards.json +276 -0
- package/src/infrastructure/locales/hr-HR/general.json +61 -0
- package/src/infrastructure/locales/hr-HR/index.ts +45 -0
- package/src/infrastructure/locales/hr-HR/navigation.json +58 -0
- package/src/infrastructure/locales/hr-HR/onboarding.json +76 -0
- package/src/infrastructure/locales/hr-HR/settings.json +53 -0
- package/src/infrastructure/locales/hu-HU/auth.json +32 -0
- package/src/infrastructure/locales/hu-HU/branding.json +9 -0
- package/src/infrastructure/locales/hu-HU/datetime.json +140 -0
- package/src/infrastructure/locales/hu-HU/errors.json +43 -0
- package/src/infrastructure/locales/hu-HU/flashcards.json +287 -0
- package/src/infrastructure/locales/hu-HU/general.json +61 -0
- package/src/infrastructure/locales/hu-HU/index.ts +45 -0
- package/src/infrastructure/locales/hu-HU/navigation.json +58 -0
- package/src/infrastructure/locales/hu-HU/onboarding.json +76 -0
- package/src/infrastructure/locales/hu-HU/settings.json +53 -0
- package/src/infrastructure/locales/id-ID/auth.json +32 -0
- package/src/infrastructure/locales/id-ID/branding.json +9 -0
- package/src/infrastructure/locales/id-ID/datetime.json +140 -0
- package/src/infrastructure/locales/id-ID/errors.json +43 -0
- package/src/infrastructure/locales/id-ID/flashcards.json +287 -0
- package/src/infrastructure/locales/id-ID/general.json +61 -0
- package/src/infrastructure/locales/id-ID/index.ts +45 -0
- package/src/infrastructure/locales/id-ID/navigation.json +58 -0
- package/src/infrastructure/locales/id-ID/onboarding.json +76 -0
- package/src/infrastructure/locales/id-ID/settings.json +53 -0
- package/src/infrastructure/locales/it-IT/auth.json +32 -0
- package/src/infrastructure/locales/it-IT/branding.json +9 -0
- package/src/infrastructure/locales/it-IT/datetime.json +140 -0
- package/src/infrastructure/locales/it-IT/errors.json +43 -0
- package/src/infrastructure/locales/it-IT/flashcards.json +287 -0
- package/src/infrastructure/locales/it-IT/general.json +61 -0
- package/src/infrastructure/locales/it-IT/index.ts +45 -0
- package/src/infrastructure/locales/it-IT/navigation.json +58 -0
- package/src/infrastructure/locales/it-IT/onboarding.json +76 -0
- package/src/infrastructure/locales/it-IT/settings.json +53 -0
- package/src/infrastructure/locales/ja-JP/auth.json +32 -0
- package/src/infrastructure/locales/ja-JP/branding.json +9 -0
- package/src/infrastructure/locales/ja-JP/datetime.json +140 -0
- package/src/infrastructure/locales/ja-JP/errors.json +43 -0
- package/src/infrastructure/locales/ja-JP/flashcards.json +287 -0
- package/src/infrastructure/locales/ja-JP/general.json +61 -0
- package/src/infrastructure/locales/ja-JP/index.ts +45 -0
- package/src/infrastructure/locales/ja-JP/navigation.json +58 -0
- package/src/infrastructure/locales/ja-JP/onboarding.json +76 -0
- package/src/infrastructure/locales/ja-JP/settings.json +53 -0
- package/src/infrastructure/locales/ko-KR/auth.json +32 -0
- package/src/infrastructure/locales/ko-KR/branding.json +9 -0
- package/src/infrastructure/locales/ko-KR/datetime.json +140 -0
- package/src/infrastructure/locales/ko-KR/errors.json +43 -0
- package/src/infrastructure/locales/ko-KR/flashcards.json +287 -0
- package/src/infrastructure/locales/ko-KR/general.json +61 -0
- package/src/infrastructure/locales/ko-KR/index.ts +45 -0
- package/src/infrastructure/locales/ko-KR/navigation.json +58 -0
- package/src/infrastructure/locales/ko-KR/onboarding.json +76 -0
- package/src/infrastructure/locales/ko-KR/settings.json +53 -0
- package/src/infrastructure/locales/ms-MY/auth.json +32 -0
- package/src/infrastructure/locales/ms-MY/branding.json +9 -0
- package/src/infrastructure/locales/ms-MY/datetime.json +140 -0
- package/src/infrastructure/locales/ms-MY/errors.json +43 -0
- package/src/infrastructure/locales/ms-MY/flashcards.json +287 -0
- package/src/infrastructure/locales/ms-MY/general.json +61 -0
- package/src/infrastructure/locales/ms-MY/index.ts +45 -0
- package/src/infrastructure/locales/ms-MY/navigation.json +58 -0
- package/src/infrastructure/locales/ms-MY/onboarding.json +76 -0
- package/src/infrastructure/locales/ms-MY/settings.json +53 -0
- package/src/infrastructure/locales/nl-NL/auth.json +32 -0
- package/src/infrastructure/locales/nl-NL/branding.json +9 -0
- package/src/infrastructure/locales/nl-NL/datetime.json +140 -0
- package/src/infrastructure/locales/nl-NL/errors.json +43 -0
- package/src/infrastructure/locales/nl-NL/flashcards.json +287 -0
- package/src/infrastructure/locales/nl-NL/general.json +61 -0
- package/src/infrastructure/locales/nl-NL/index.ts +45 -0
- package/src/infrastructure/locales/nl-NL/navigation.json +58 -0
- package/src/infrastructure/locales/nl-NL/onboarding.json +76 -0
- package/src/infrastructure/locales/nl-NL/settings.json +53 -0
- package/src/infrastructure/locales/no-NO/auth.json +32 -0
- package/src/infrastructure/locales/no-NO/branding.json +9 -0
- package/src/infrastructure/locales/no-NO/datetime.json +140 -0
- package/src/infrastructure/locales/no-NO/errors.json +43 -0
- package/src/infrastructure/locales/no-NO/flashcards.json +287 -0
- package/src/infrastructure/locales/no-NO/general.json +61 -0
- package/src/infrastructure/locales/no-NO/index.ts +45 -0
- package/src/infrastructure/locales/no-NO/navigation.json +58 -0
- package/src/infrastructure/locales/no-NO/onboarding.json +76 -0
- package/src/infrastructure/locales/no-NO/settings.json +53 -0
- package/src/infrastructure/locales/pl-PL/auth.json +32 -0
- package/src/infrastructure/locales/pl-PL/branding.json +9 -0
- package/src/infrastructure/locales/pl-PL/datetime.json +140 -0
- package/src/infrastructure/locales/pl-PL/errors.json +43 -0
- package/src/infrastructure/locales/pl-PL/flashcards.json +287 -0
- package/src/infrastructure/locales/pl-PL/general.json +61 -0
- package/src/infrastructure/locales/pl-PL/index.ts +45 -0
- package/src/infrastructure/locales/pl-PL/navigation.json +58 -0
- package/src/infrastructure/locales/pl-PL/onboarding.json +76 -0
- package/src/infrastructure/locales/pl-PL/settings.json +53 -0
- package/src/infrastructure/locales/pt-BR/auth.json +32 -0
- package/src/infrastructure/locales/pt-BR/branding.json +9 -0
- package/src/infrastructure/locales/pt-BR/datetime.json +140 -0
- package/src/infrastructure/locales/pt-BR/errors.json +43 -0
- package/src/infrastructure/locales/pt-BR/flashcards.json +287 -0
- package/src/infrastructure/locales/pt-BR/general.json +61 -0
- package/src/infrastructure/locales/pt-BR/index.ts +45 -0
- package/src/infrastructure/locales/pt-BR/navigation.json +58 -0
- package/src/infrastructure/locales/pt-BR/onboarding.json +76 -0
- package/src/infrastructure/locales/pt-BR/settings.json +53 -0
- package/src/infrastructure/locales/pt-PT/auth.json +32 -0
- package/src/infrastructure/locales/pt-PT/branding.json +9 -0
- package/src/infrastructure/locales/pt-PT/datetime.json +140 -0
- package/src/infrastructure/locales/pt-PT/errors.json +43 -0
- package/src/infrastructure/locales/pt-PT/flashcards.json +287 -0
- package/src/infrastructure/locales/pt-PT/general.json +61 -0
- package/src/infrastructure/locales/pt-PT/index.ts +45 -0
- package/src/infrastructure/locales/pt-PT/navigation.json +58 -0
- package/src/infrastructure/locales/pt-PT/onboarding.json +76 -0
- package/src/infrastructure/locales/pt-PT/settings.json +53 -0
- package/src/infrastructure/locales/ro-RO/auth.json +32 -0
- package/src/infrastructure/locales/ro-RO/branding.json +9 -0
- package/src/infrastructure/locales/ro-RO/datetime.json +140 -0
- package/src/infrastructure/locales/ro-RO/errors.json +43 -0
- package/src/infrastructure/locales/ro-RO/flashcards.json +287 -0
- package/src/infrastructure/locales/ro-RO/general.json +61 -0
- package/src/infrastructure/locales/ro-RO/index.ts +45 -0
- package/src/infrastructure/locales/ro-RO/navigation.json +58 -0
- package/src/infrastructure/locales/ro-RO/onboarding.json +76 -0
- package/src/infrastructure/locales/ro-RO/settings.json +53 -0
- package/src/infrastructure/locales/ru-RU/auth.json +32 -0
- package/src/infrastructure/locales/ru-RU/branding.json +9 -0
- package/src/infrastructure/locales/ru-RU/datetime.json +140 -0
- package/src/infrastructure/locales/ru-RU/errors.json +43 -0
- package/src/infrastructure/locales/ru-RU/flashcards.json +276 -0
- package/src/infrastructure/locales/ru-RU/general.json +61 -0
- package/src/infrastructure/locales/ru-RU/index.ts +45 -0
- package/src/infrastructure/locales/ru-RU/navigation.json +58 -0
- package/src/infrastructure/locales/ru-RU/onboarding.json +76 -0
- package/src/infrastructure/locales/ru-RU/settings.json +53 -0
- package/src/infrastructure/locales/sk-SK/auth.json +32 -0
- package/src/infrastructure/locales/sk-SK/branding.json +9 -0
- package/src/infrastructure/locales/sk-SK/datetime.json +140 -0
- package/src/infrastructure/locales/sk-SK/errors.json +43 -0
- package/src/infrastructure/locales/sk-SK/flashcards.json +287 -0
- package/src/infrastructure/locales/sk-SK/general.json +61 -0
- package/src/infrastructure/locales/sk-SK/index.ts +45 -0
- package/src/infrastructure/locales/sk-SK/navigation.json +58 -0
- package/src/infrastructure/locales/sk-SK/onboarding.json +76 -0
- package/src/infrastructure/locales/sk-SK/settings.json +53 -0
- package/src/infrastructure/locales/sv-SE/auth.json +32 -0
- package/src/infrastructure/locales/sv-SE/branding.json +9 -0
- package/src/infrastructure/locales/sv-SE/datetime.json +140 -0
- package/src/infrastructure/locales/sv-SE/errors.json +43 -0
- package/src/infrastructure/locales/sv-SE/flashcards.json +287 -0
- package/src/infrastructure/locales/sv-SE/general.json +61 -0
- package/src/infrastructure/locales/sv-SE/index.ts +45 -0
- package/src/infrastructure/locales/sv-SE/navigation.json +58 -0
- package/src/infrastructure/locales/sv-SE/onboarding.json +76 -0
- package/src/infrastructure/locales/sv-SE/settings.json +53 -0
- package/src/infrastructure/locales/th-TH/auth.json +32 -0
- package/src/infrastructure/locales/th-TH/branding.json +9 -0
- package/src/infrastructure/locales/th-TH/datetime.json +140 -0
- package/src/infrastructure/locales/th-TH/errors.json +43 -0
- package/src/infrastructure/locales/th-TH/flashcards.json +287 -0
- package/src/infrastructure/locales/th-TH/general.json +61 -0
- package/src/infrastructure/locales/th-TH/index.ts +45 -0
- package/src/infrastructure/locales/th-TH/navigation.json +58 -0
- package/src/infrastructure/locales/th-TH/onboarding.json +76 -0
- package/src/infrastructure/locales/th-TH/settings.json +53 -0
- package/src/infrastructure/locales/tl-PH/auth.json +32 -0
- package/src/infrastructure/locales/tl-PH/branding.json +9 -0
- package/src/infrastructure/locales/tl-PH/datetime.json +140 -0
- package/src/infrastructure/locales/tl-PH/errors.json +43 -0
- package/src/infrastructure/locales/tl-PH/flashcards.json +287 -0
- package/src/infrastructure/locales/tl-PH/general.json +61 -0
- package/src/infrastructure/locales/tl-PH/index.ts +45 -0
- package/src/infrastructure/locales/tl-PH/navigation.json +58 -0
- package/src/infrastructure/locales/tl-PH/onboarding.json +76 -0
- package/src/infrastructure/locales/tl-PH/settings.json +53 -0
- package/src/infrastructure/locales/tr-TR/auth.json +32 -0
- package/src/infrastructure/locales/tr-TR/branding.json +9 -0
- package/src/infrastructure/locales/tr-TR/datetime.json +140 -0
- package/src/infrastructure/locales/tr-TR/errors.json +43 -0
- package/src/infrastructure/locales/tr-TR/flashcards.json +287 -0
- package/src/infrastructure/locales/tr-TR/general.json +61 -0
- package/src/infrastructure/locales/tr-TR/index.ts +45 -0
- package/src/infrastructure/locales/tr-TR/navigation.json +58 -0
- package/src/infrastructure/locales/tr-TR/onboarding.json +76 -0
- package/src/infrastructure/locales/tr-TR/settings.json +53 -0
- package/src/infrastructure/locales/uk-UA/auth.json +32 -0
- package/src/infrastructure/locales/uk-UA/branding.json +9 -0
- package/src/infrastructure/locales/uk-UA/datetime.json +140 -0
- package/src/infrastructure/locales/uk-UA/errors.json +43 -0
- package/src/infrastructure/locales/uk-UA/flashcards.json +287 -0
- package/src/infrastructure/locales/uk-UA/general.json +61 -0
- package/src/infrastructure/locales/uk-UA/index.ts +45 -0
- package/src/infrastructure/locales/uk-UA/navigation.json +58 -0
- package/src/infrastructure/locales/uk-UA/onboarding.json +76 -0
- package/src/infrastructure/locales/uk-UA/settings.json +53 -0
- package/src/infrastructure/locales/vi-VN/auth.json +32 -0
- package/src/infrastructure/locales/vi-VN/branding.json +9 -0
- package/src/infrastructure/locales/vi-VN/datetime.json +140 -0
- package/src/infrastructure/locales/vi-VN/errors.json +43 -0
- package/src/infrastructure/locales/vi-VN/flashcards.json +287 -0
- package/src/infrastructure/locales/vi-VN/general.json +61 -0
- package/src/infrastructure/locales/vi-VN/index.ts +45 -0
- package/src/infrastructure/locales/vi-VN/navigation.json +58 -0
- package/src/infrastructure/locales/vi-VN/onboarding.json +76 -0
- package/src/infrastructure/locales/vi-VN/settings.json +53 -0
- package/src/infrastructure/locales/zh-CN/auth.json +32 -0
- package/src/infrastructure/locales/zh-CN/branding.json +9 -0
- package/src/infrastructure/locales/zh-CN/datetime.json +140 -0
- package/src/infrastructure/locales/zh-CN/errors.json +43 -0
- package/src/infrastructure/locales/zh-CN/flashcards.json +287 -0
- package/src/infrastructure/locales/zh-CN/general.json +61 -0
- package/src/infrastructure/locales/zh-CN/index.ts +45 -0
- package/src/infrastructure/locales/zh-CN/navigation.json +58 -0
- package/src/infrastructure/locales/zh-CN/onboarding.json +76 -0
- package/src/infrastructure/locales/zh-CN/settings.json +53 -0
- package/src/infrastructure/locales/zh-TW/auth.json +32 -0
- package/src/infrastructure/locales/zh-TW/branding.json +9 -0
- package/src/infrastructure/locales/zh-TW/datetime.json +140 -0
- package/src/infrastructure/locales/zh-TW/errors.json +43 -0
- package/src/infrastructure/locales/zh-TW/flashcards.json +287 -0
- package/src/infrastructure/locales/zh-TW/general.json +61 -0
- package/src/infrastructure/locales/zh-TW/index.ts +45 -0
- package/src/infrastructure/locales/zh-TW/navigation.json +58 -0
- package/src/infrastructure/locales/zh-TW/onboarding.json +76 -0
- package/src/infrastructure/locales/zh-TW/settings.json +53 -0
- package/src/infrastructure/scripts/createLocaleLoaders.js +177 -0
- package/src/infrastructure/storage/AsyncStorageWrapper.ts +4 -2
- package/src/infrastructure/storage/LocalizationStore.ts +140 -39
- package/lib/infrastructure/locales/en-US/animation.json +0 -30
- package/lib/infrastructure/locales/en-US/audio.json +0 -56
- package/lib/infrastructure/locales/en-US/emoji.json +0 -29
- package/lib/infrastructure/locales/en-US/forms.json +0 -38
- package/lib/infrastructure/locales/en-US/icons.json +0 -34
- package/lib/infrastructure/locales/en-US/location.json +0 -49
- package/lib/infrastructure/locales/en-US/media.json +0 -49
- package/lib/infrastructure/locales/en-US/toast.json +0 -38
- package/src/infrastructure/locales/en-US/animation.json +0 -30
- package/src/infrastructure/locales/en-US/audio.json +0 -56
- package/src/infrastructure/locales/en-US/emoji.json +0 -29
- package/src/infrastructure/locales/en-US/forms.json +0 -38
- package/src/infrastructure/locales/en-US/icons.json +0 -34
- package/src/infrastructure/locales/en-US/location.json +0 -49
- package/src/infrastructure/locales/en-US/media.json +0 -49
- package/src/infrastructure/locales/en-US/toast.json +0 -38
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Auto-Loader Generator for Localization
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This is a Node.js build script, not React Native code.
|
|
7
|
+
* ESLint is disabled for this file as it uses Node.js APIs (require, __dirname, process, console).
|
|
8
|
+
*
|
|
9
|
+
* Automatically scans locale directories and generates index.ts files
|
|
10
|
+
* that import all .json translation files.
|
|
11
|
+
*
|
|
12
|
+
* Features:
|
|
13
|
+
* - Dynamic JSON file detection (no hardcoded mappings)
|
|
14
|
+
* - Nested namespace structure for better organization
|
|
15
|
+
* - Supports all languages automatically
|
|
16
|
+
* - Clean, maintainable output
|
|
17
|
+
*
|
|
18
|
+
* Usage:
|
|
19
|
+
* npm run localization:create-loaders # Generate all
|
|
20
|
+
* node scripts/createLocaleLoaders.js en-US # Generate single language
|
|
21
|
+
*
|
|
22
|
+
* Factory-First: This script is auto-copied to all generated apps
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
const fs = require('fs');
|
|
26
|
+
const path = require('path');
|
|
27
|
+
|
|
28
|
+
// Get the locales directory (works from scripts/ or root)
|
|
29
|
+
const getLocalesDir = () => {
|
|
30
|
+
const possiblePaths = [
|
|
31
|
+
path.join(__dirname, '../src/infrastructure/locales'), // Package structure
|
|
32
|
+
path.join(__dirname, '../locales'), // App structure from scripts/
|
|
33
|
+
path.join(process.cwd(), 'domains/localization/infrastructure/locales'), // App structure from root
|
|
34
|
+
path.join(process.cwd(), 'src/infrastructure/locales'), // Package from root
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
for (const p of possiblePaths) {
|
|
38
|
+
if (fs.existsSync(p)) {
|
|
39
|
+
return p;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
throw new Error('Could not find locales directory');
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const localesDir = getLocalesDir();
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Get all language directories dynamically
|
|
50
|
+
*/
|
|
51
|
+
function getLanguageDirectories() {
|
|
52
|
+
return fs
|
|
53
|
+
.readdirSync(localesDir)
|
|
54
|
+
.filter(item => {
|
|
55
|
+
const itemPath = path.join(localesDir, item);
|
|
56
|
+
return fs.statSync(itemPath).isDirectory() && item.match(/^[a-z]{2}-[A-Z]{2}$/);
|
|
57
|
+
})
|
|
58
|
+
.sort();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Create auto-loader for a single language
|
|
63
|
+
*/
|
|
64
|
+
function createAutoLoader(languageCode) {
|
|
65
|
+
const languageDir = path.join(localesDir, languageCode);
|
|
66
|
+
|
|
67
|
+
// Check if directory exists
|
|
68
|
+
if (!fs.existsSync(languageDir)) {
|
|
69
|
+
console.warn(`⚠️ Language directory not found: ${languageCode}`);
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Read all JSON files in the directory
|
|
74
|
+
const files = fs
|
|
75
|
+
.readdirSync(languageDir)
|
|
76
|
+
.filter(file => file.endsWith('.json'))
|
|
77
|
+
.sort();
|
|
78
|
+
|
|
79
|
+
if (files.length === 0) {
|
|
80
|
+
console.warn(`⚠️ No JSON files found in: ${languageCode}`);
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Create import statements and namespace mapping
|
|
85
|
+
const imports = [];
|
|
86
|
+
const namespaces = [];
|
|
87
|
+
const descriptions = [];
|
|
88
|
+
|
|
89
|
+
files.forEach(file => {
|
|
90
|
+
const moduleName = file.replace('.json', '');
|
|
91
|
+
imports.push(`import ${moduleName} from './${file}';`);
|
|
92
|
+
namespaces.push(moduleName);
|
|
93
|
+
descriptions.push(` * - ${moduleName}: ${file}`);
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
// Create the auto-loader content with nested structure
|
|
97
|
+
const content = `/**
|
|
98
|
+
* Auto-generated translation loader for ${languageCode}
|
|
99
|
+
*
|
|
100
|
+
* This file is automatically generated by:
|
|
101
|
+
* npm run localization:create-loaders
|
|
102
|
+
*
|
|
103
|
+
* DO NOT EDIT THIS FILE MANUALLY!
|
|
104
|
+
*
|
|
105
|
+
* Translation Modules:
|
|
106
|
+
${descriptions.join('\n')}
|
|
107
|
+
*
|
|
108
|
+
* Generated: ${new Date().toISOString()}
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
// Import all translation modules
|
|
112
|
+
${imports.join('\n')}
|
|
113
|
+
|
|
114
|
+
// Merge all modules into a single translation object
|
|
115
|
+
// Using nested structure for better namespace organization
|
|
116
|
+
const translations = {
|
|
117
|
+
${namespaces.join(',\n ')},
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export default translations;
|
|
121
|
+
`;
|
|
122
|
+
|
|
123
|
+
// Write the index.ts file
|
|
124
|
+
const indexPath = path.join(languageDir, 'index.ts');
|
|
125
|
+
fs.writeFileSync(indexPath, content, 'utf8');
|
|
126
|
+
|
|
127
|
+
console.log(`✅ Created auto-loader: ${languageCode}/index.ts (${files.length} modules)`);
|
|
128
|
+
return true;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Create auto-loaders for all languages
|
|
133
|
+
*/
|
|
134
|
+
function createAllAutoLoaders() {
|
|
135
|
+
const languages = getLanguageDirectories();
|
|
136
|
+
|
|
137
|
+
if (languages.length === 0) {
|
|
138
|
+
console.error('❌ No language directories found in:', localesDir);
|
|
139
|
+
process.exit(1);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
console.log(`\n🌍 Creating auto-loaders for ${languages.length} languages...\n`);
|
|
143
|
+
|
|
144
|
+
let successCount = 0;
|
|
145
|
+
languages.forEach(languageCode => {
|
|
146
|
+
if (createAutoLoader(languageCode)) {
|
|
147
|
+
successCount++;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
console.log(`\n✨ Successfully created ${successCount}/${languages.length} auto-loaders`);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// ============================================================================
|
|
155
|
+
// CLI
|
|
156
|
+
// ============================================================================
|
|
157
|
+
|
|
158
|
+
const args = process.argv.slice(2);
|
|
159
|
+
|
|
160
|
+
if (args[0] === 'all' || args.length === 0) {
|
|
161
|
+
createAllAutoLoaders();
|
|
162
|
+
} else if (args[0]) {
|
|
163
|
+
// Single language
|
|
164
|
+
const languageCode = args[0];
|
|
165
|
+
if (createAutoLoader(languageCode)) {
|
|
166
|
+
console.log(`\n✨ Done!`);
|
|
167
|
+
} else {
|
|
168
|
+
console.error(`\n❌ Failed to create auto-loader for: ${languageCode}`);
|
|
169
|
+
process.exit(1);
|
|
170
|
+
}
|
|
171
|
+
} else {
|
|
172
|
+
console.log('Usage: node createLocaleLoaders.js [language-code|all]');
|
|
173
|
+
console.log('\nExamples:');
|
|
174
|
+
console.log(' node createLocaleLoaders.js # Generate all');
|
|
175
|
+
console.log(' node createLocaleLoaders.js all # Generate all');
|
|
176
|
+
console.log(' node createLocaleLoaders.js en-US # Generate single language');
|
|
177
|
+
console.log(' node createLocaleLoaders.js tr-TR # Generate single language');
|
|
178
|
+
}
|
|
@@ -1,57 +1,225 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* i18next Configuration
|
|
3
3
|
* Nested translation structure - common translations spread, domain translations nested
|
|
4
|
+
*
|
|
5
|
+
* CRITICAL: Package must be installed for i18n to work
|
|
6
|
+
* If package is not installed, i18n will gracefully degrade
|
|
4
7
|
*/
|
|
5
8
|
|
|
6
|
-
import i18n from
|
|
7
|
-
import { initReactI18next } from
|
|
8
|
-
import { SUPPORTED_LANGUAGES, DEFAULT_LANGUAGE } from
|
|
9
|
+
import i18n from "i18next";
|
|
10
|
+
import { initReactI18next } from "react-i18next";
|
|
11
|
+
import { SUPPORTED_LANGUAGES, DEFAULT_LANGUAGE } from "./languages";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Check if required dependencies are available
|
|
15
|
+
*/
|
|
16
|
+
const checkDependencies = (): boolean => {
|
|
17
|
+
try {
|
|
18
|
+
// Check if i18next and react-i18next are available
|
|
19
|
+
if (!i18n || !initReactI18next) {
|
|
20
|
+
/* eslint-disable-next-line no-console */
|
|
21
|
+
if (__DEV__) console.warn("[i18n] Required dependencies not found. i18n will not work.");
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
return true;
|
|
25
|
+
} catch (error) {
|
|
26
|
+
/* eslint-disable-next-line no-console */
|
|
27
|
+
if (__DEV__) console.warn("[i18n] Error checking dependencies:", error);
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
9
31
|
|
|
10
32
|
/**
|
|
11
33
|
* Import all translations from modular folder structure
|
|
12
34
|
* Each locale has an index.ts that merges all JSON files
|
|
13
35
|
*
|
|
14
|
-
* Structure
|
|
36
|
+
* Structure:
|
|
15
37
|
* locales/
|
|
16
38
|
* en-US/ (universal translations in localization domain)
|
|
17
|
-
* index.ts (merges
|
|
18
|
-
*
|
|
19
|
-
*
|
|
39
|
+
* index.ts (merges branding.json, datetime.json, errors.json, flashcards.json, general.json, navigation.json, onboarding.json, settings.json)
|
|
40
|
+
* tr-TR/
|
|
41
|
+
* index.ts (merges all translation modules)
|
|
42
|
+
* ... (all 39 languages)
|
|
20
43
|
*/
|
|
21
44
|
|
|
22
|
-
// Import
|
|
23
|
-
import
|
|
45
|
+
// Import all locale translations
|
|
46
|
+
import arSA from "../locales/ar-SA";
|
|
47
|
+
import bgBG from "../locales/bg-BG";
|
|
48
|
+
import csCZ from "../locales/cs-CZ";
|
|
49
|
+
import daDK from "../locales/da-DK";
|
|
50
|
+
import deDE from "../locales/de-DE";
|
|
51
|
+
import elGR from "../locales/el-GR";
|
|
52
|
+
import enAU from "../locales/en-AU";
|
|
53
|
+
import enCA from "../locales/en-CA";
|
|
54
|
+
import enGB from "../locales/en-GB";
|
|
55
|
+
import enUS from "../locales/en-US";
|
|
56
|
+
import esES from "../locales/es-ES";
|
|
57
|
+
import esMX from "../locales/es-MX";
|
|
58
|
+
import fiFI from "../locales/fi-FI";
|
|
59
|
+
import frCA from "../locales/fr-CA";
|
|
60
|
+
import frFR from "../locales/fr-FR";
|
|
61
|
+
import hiIN from "../locales/hi-IN";
|
|
62
|
+
import hrHR from "../locales/hr-HR";
|
|
63
|
+
import huHU from "../locales/hu-HU";
|
|
64
|
+
import idID from "../locales/id-ID";
|
|
65
|
+
import itIT from "../locales/it-IT";
|
|
66
|
+
import jaJP from "../locales/ja-JP";
|
|
67
|
+
import koKR from "../locales/ko-KR";
|
|
68
|
+
import msMY from "../locales/ms-MY";
|
|
69
|
+
import nlNL from "../locales/nl-NL";
|
|
70
|
+
import noNO from "../locales/no-NO";
|
|
71
|
+
import plPL from "../locales/pl-PL";
|
|
72
|
+
import ptBR from "../locales/pt-BR";
|
|
73
|
+
import ptPT from "../locales/pt-PT";
|
|
74
|
+
import roRO from "../locales/ro-RO";
|
|
75
|
+
import ruRU from "../locales/ru-RU";
|
|
76
|
+
import skSK from "../locales/sk-SK";
|
|
77
|
+
import svSE from "../locales/sv-SE";
|
|
78
|
+
import thTH from "../locales/th-TH";
|
|
79
|
+
import tlPH from "../locales/tl-PH";
|
|
80
|
+
import trTR from "../locales/tr-TR";
|
|
81
|
+
import ukUA from "../locales/uk-UA";
|
|
82
|
+
import viVN from "../locales/vi-VN";
|
|
83
|
+
import zhCN from "../locales/zh-CN";
|
|
84
|
+
import zhTW from "../locales/zh-TW";
|
|
24
85
|
|
|
25
86
|
/**
|
|
26
87
|
* Translation Resources
|
|
88
|
+
* All 39 supported languages loaded
|
|
27
89
|
* Nested structure - domain-based organization with direct key access
|
|
28
|
-
* Example: settings.theme.title, onboarding.welcome.title
|
|
90
|
+
* Example: settings.theme.title, onboarding.welcome.title, flashcards.home.welcome
|
|
29
91
|
*/
|
|
30
92
|
const resources = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
93
|
+
"ar-SA": { translation: arSA },
|
|
94
|
+
"bg-BG": { translation: bgBG },
|
|
95
|
+
"cs-CZ": { translation: csCZ },
|
|
96
|
+
"da-DK": { translation: daDK },
|
|
97
|
+
"de-DE": { translation: deDE },
|
|
98
|
+
"el-GR": { translation: elGR },
|
|
99
|
+
"en-AU": { translation: enAU },
|
|
100
|
+
"en-CA": { translation: enCA },
|
|
101
|
+
"en-GB": { translation: enGB },
|
|
102
|
+
"en-US": { translation: enUS },
|
|
103
|
+
"es-ES": { translation: esES },
|
|
104
|
+
"es-MX": { translation: esMX },
|
|
105
|
+
"fi-FI": { translation: fiFI },
|
|
106
|
+
"fr-CA": { translation: frCA },
|
|
107
|
+
"fr-FR": { translation: frFR },
|
|
108
|
+
"hi-IN": { translation: hiIN },
|
|
109
|
+
"hr-HR": { translation: hrHR },
|
|
110
|
+
"hu-HU": { translation: huHU },
|
|
111
|
+
"id-ID": { translation: idID },
|
|
112
|
+
"it-IT": { translation: itIT },
|
|
113
|
+
"ja-JP": { translation: jaJP },
|
|
114
|
+
"ko-KR": { translation: koKR },
|
|
115
|
+
"ms-MY": { translation: msMY },
|
|
116
|
+
"nl-NL": { translation: nlNL },
|
|
117
|
+
"no-NO": { translation: noNO },
|
|
118
|
+
"pl-PL": { translation: plPL },
|
|
119
|
+
"pt-BR": { translation: ptBR },
|
|
120
|
+
"pt-PT": { translation: ptPT },
|
|
121
|
+
"ro-RO": { translation: roRO },
|
|
122
|
+
"ru-RU": { translation: ruRU },
|
|
123
|
+
"sk-SK": { translation: skSK },
|
|
124
|
+
"sv-SE": { translation: svSE },
|
|
125
|
+
"th-TH": { translation: thTH },
|
|
126
|
+
"tl-PH": { translation: tlPH },
|
|
127
|
+
"tr-TR": { translation: trTR },
|
|
128
|
+
"uk-UA": { translation: ukUA },
|
|
129
|
+
"vi-VN": { translation: viVN },
|
|
130
|
+
"zh-CN": { translation: zhCN },
|
|
131
|
+
"zh-TW": { translation: zhTW },
|
|
36
132
|
};
|
|
37
133
|
|
|
38
134
|
/**
|
|
39
135
|
* Initialize i18next
|
|
136
|
+
* Deferred initialization to avoid React Native renderer conflicts
|
|
137
|
+
* Only initializes if dependencies are available
|
|
40
138
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
139
|
+
let isInitialized = false;
|
|
140
|
+
|
|
141
|
+
const initializeI18n = () => {
|
|
142
|
+
if (isInitialized) return;
|
|
143
|
+
|
|
144
|
+
// Check if dependencies are available
|
|
145
|
+
if (!checkDependencies()) {
|
|
146
|
+
/* eslint-disable-next-line no-console */
|
|
147
|
+
if (__DEV__) console.warn("[i18n] Dependencies not available. Skipping initialization.");
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
45
150
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
151
|
+
try {
|
|
152
|
+
/* eslint-disable-next-line no-console */
|
|
153
|
+
if (__DEV__) console.log("[i18n] Initializing i18next...");
|
|
154
|
+
/* eslint-disable-next-line no-console */
|
|
155
|
+
if (__DEV__)
|
|
156
|
+
console.log("[i18n] Resources count:", Object.keys(resources).length);
|
|
157
|
+
/* eslint-disable-next-line no-console */
|
|
158
|
+
if (__DEV__) console.log("[i18n] Default language:", DEFAULT_LANGUAGE);
|
|
49
159
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
160
|
+
/* eslint-disable-next-line no-console */
|
|
161
|
+
if (__DEV__) console.log("[i18n] Checking initReactI18next...");
|
|
162
|
+
if (!initReactI18next) {
|
|
163
|
+
throw new Error("initReactI18next is undefined");
|
|
164
|
+
}
|
|
165
|
+
/* eslint-disable-next-line no-console */
|
|
166
|
+
if (__DEV__) console.log("[i18n] initReactI18next found");
|
|
167
|
+
|
|
168
|
+
/* eslint-disable-next-line no-console */
|
|
169
|
+
if (__DEV__) console.log("[i18n] Using initReactI18next...");
|
|
170
|
+
i18n.use(initReactI18next);
|
|
171
|
+
/* eslint-disable-next-line no-console */
|
|
172
|
+
if (__DEV__) console.log("[i18n] initReactI18next applied");
|
|
173
|
+
|
|
174
|
+
/* eslint-disable-next-line no-console */
|
|
175
|
+
if (__DEV__) console.log("[i18n] Calling i18n.init...");
|
|
176
|
+
i18n.init({
|
|
177
|
+
resources,
|
|
178
|
+
lng: DEFAULT_LANGUAGE,
|
|
179
|
+
fallbackLng: DEFAULT_LANGUAGE,
|
|
180
|
+
|
|
181
|
+
interpolation: {
|
|
182
|
+
escapeValue: false, // React already escapes values
|
|
183
|
+
},
|
|
184
|
+
|
|
185
|
+
react: {
|
|
186
|
+
useSuspense: false, // Disable suspense for React Native
|
|
187
|
+
},
|
|
188
|
+
|
|
189
|
+
compatibilityJSON: "v4", // Use i18next v4 JSON format
|
|
190
|
+
});
|
|
191
|
+
/* eslint-disable-next-line no-console */
|
|
192
|
+
if (__DEV__) console.log("[i18n] i18n.init completed");
|
|
193
|
+
|
|
194
|
+
isInitialized = true;
|
|
195
|
+
/* eslint-disable-next-line no-console */
|
|
196
|
+
if (__DEV__) console.log("[i18n] i18next initialized successfully");
|
|
197
|
+
} catch (error) {
|
|
198
|
+
/* eslint-disable-next-line no-console */
|
|
199
|
+
if (__DEV__) console.error("[i18n] Initialization error:", error);
|
|
200
|
+
/* eslint-disable-next-line no-console */
|
|
201
|
+
if (__DEV__)
|
|
202
|
+
console.error("[i18n] Error details:", {
|
|
203
|
+
message: error instanceof Error ? error.message : String(error),
|
|
204
|
+
stack: error instanceof Error ? error.stack : "No stack",
|
|
205
|
+
name: error instanceof Error ? error.name : "Unknown",
|
|
206
|
+
});
|
|
207
|
+
// Don't throw - allow app to continue without i18n
|
|
208
|
+
/* eslint-disable-next-line no-console */
|
|
209
|
+
if (__DEV__) console.warn("[i18n] Continuing without i18n initialization");
|
|
210
|
+
}
|
|
211
|
+
};
|
|
53
212
|
|
|
54
|
-
|
|
55
|
-
|
|
213
|
+
// Defer initialization until React is ready
|
|
214
|
+
// React Native doesn't have window, so we check for global
|
|
215
|
+
if (typeof global !== "undefined") {
|
|
216
|
+
// Use setTimeout to defer initialization
|
|
217
|
+
setTimeout(() => {
|
|
218
|
+
initializeI18n();
|
|
219
|
+
}, 0);
|
|
220
|
+
} else {
|
|
221
|
+
// Fallback: initialize immediately
|
|
222
|
+
initializeI18n();
|
|
223
|
+
}
|
|
56
224
|
|
|
57
225
|
export default i18n;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as Localization from 'expo-localization';
|
|
17
17
|
import { LANGUAGES } from './languagesData';
|
|
18
|
-
import { Language } from '../../domain/repositories/ILocalizationRepository';
|
|
18
|
+
import type { Language } from '../../domain/repositories/ILocalizationRepository';
|
|
19
19
|
|
|
20
20
|
// Single source of truth for supported languages
|
|
21
21
|
export const SUPPORTED_LANGUAGES: Language[] = LANGUAGES;
|
|
@@ -211,7 +211,8 @@ export const getDefaultLanguage = (): Language => {
|
|
|
211
211
|
export const getDeviceLocale = (): string => {
|
|
212
212
|
try {
|
|
213
213
|
// Get device locale (e.g., "en-US", "tr-TR", or just "en")
|
|
214
|
-
const
|
|
214
|
+
const locales = Localization.getLocales();
|
|
215
|
+
const deviceLocale = locales[0]?.languageTag;
|
|
215
216
|
|
|
216
217
|
if (!deviceLocale) {
|
|
217
218
|
return DEFAULT_LANGUAGE;
|
|
@@ -239,7 +240,6 @@ export const getDeviceLocale = (): string => {
|
|
|
239
240
|
return DEFAULT_LANGUAGE;
|
|
240
241
|
} catch (error) {
|
|
241
242
|
// If any error occurs, fallback to default
|
|
242
|
-
console.warn('[Localization] Failed to detect device locale:', error);
|
|
243
243
|
return DEFAULT_LANGUAGE;
|
|
244
244
|
}
|
|
245
245
|
};
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
import type { Language } from '../../domain/repositories/ILocalizationRepository';
|
|
7
7
|
|
|
8
8
|
export const LANGUAGES: Language[] = [
|
|
9
|
-
{ code: 'en-US', name: 'English', nativeName: 'English', flag: '🇺🇸', rtl: false },
|
|
10
9
|
{ code: 'ar-SA', name: 'Arabic', nativeName: 'العربية', flag: '🇸🇦', rtl: true },
|
|
11
10
|
{ code: 'bg-BG', name: 'Bulgarian', nativeName: 'Български', flag: '🇧🇬', rtl: false },
|
|
12
11
|
{ code: 'cs-CZ', name: 'Czech', nativeName: 'Čeština', flag: '🇨🇿', rtl: false },
|
|
13
12
|
{ code: 'da-DK', name: 'Danish', nativeName: 'Dansk', flag: '🇩🇰', rtl: false },
|
|
14
13
|
{ code: 'de-DE', name: 'German', nativeName: 'Deutsch', flag: '🇩🇪', rtl: false },
|
|
14
|
+
{ code: 'en-US', name: 'English', nativeName: 'English', flag: '🇺🇸', rtl: false },
|
|
15
15
|
{ code: 'es-ES', name: 'Spanish', nativeName: 'Español', flag: '🇪🇸', rtl: false },
|
|
16
16
|
{ code: 'fi-FI', name: 'Finnish', nativeName: 'Suomi', flag: '🇫🇮', rtl: false },
|
|
17
17
|
{ code: 'fr-FR', name: 'French', nativeName: 'Français', flag: '🇫🇷', rtl: false },
|
|
@@ -30,9 +30,10 @@ export const LANGUAGES: Language[] = [
|
|
|
30
30
|
{ code: 'ru-RU', name: 'Russian', nativeName: 'Русский', flag: '🇷🇺', rtl: false },
|
|
31
31
|
{ code: 'sv-SE', name: 'Swedish', nativeName: 'Svenska', flag: '🇸🇪', rtl: false },
|
|
32
32
|
{ code: 'th-TH', name: 'Thai', nativeName: 'ไทย', flag: '🇹🇭', rtl: false },
|
|
33
|
-
{ code: 'tl-PH', name: 'Filipino', nativeName: '
|
|
33
|
+
{ code: 'tl-PH', name: 'Filipino', nativeName: 'Filipino', flag: '🇵🇭', rtl: false },
|
|
34
34
|
{ code: 'tr-TR', name: 'Turkish', nativeName: 'Türkçe', flag: '🇹🇷', rtl: false },
|
|
35
35
|
{ code: 'uk-UA', name: 'Ukrainian', nativeName: 'Українська', flag: '🇺🇦', rtl: false },
|
|
36
36
|
{ code: 'vi-VN', name: 'Vietnamese', nativeName: 'Tiếng Việt', flag: '🇻🇳', rtl: false },
|
|
37
37
|
{ code: 'zh-CN', name: 'Chinese (Simplified)', nativeName: '简体中文', flag: '🇨🇳', rtl: false },
|
|
38
38
|
];
|
|
39
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"welcomeBack": "مرحبًا بعودتك",
|
|
3
|
+
"loginSubtitle": "قم بتسجيل الدخول لمزامنة البطاقات التعليمية الخاصة بك عبر الأجهزة",
|
|
4
|
+
"email": "بريد إلكتروني",
|
|
5
|
+
"password": "كلمة المرور",
|
|
6
|
+
"enterPassword": "أدخل كلمة المرور الخاصة بك",
|
|
7
|
+
"login": "تسجيل الدخول",
|
|
8
|
+
"createAccount": "إنشاء حساب",
|
|
9
|
+
"continueAsGuest": "الاستمرار كضيف",
|
|
10
|
+
"register": "يسجل",
|
|
11
|
+
"displayName": "اسم العرض",
|
|
12
|
+
"enterDisplayName": "أدخل اسمك",
|
|
13
|
+
"confirmPassword": "تأكيد كلمة المرور",
|
|
14
|
+
"reenterPassword": "أعد إدخال كلمة المرور الخاصة بك",
|
|
15
|
+
"backToLogin": "العودة إلى تسجيل الدخول",
|
|
16
|
+
"registerSubtitle": "قم بإنشاء حساب لمزامنة بياناتك",
|
|
17
|
+
"fillAllFields": "يرجى ملء جميع الحقول",
|
|
18
|
+
"passwordsDoNotMatch": "كلمات المرور غير متطابقة",
|
|
19
|
+
"passwordTooShort": "يجب أن تتكون كلمة المرور من 6 أحرف على الأقل",
|
|
20
|
+
"loginFailed": "فشل تسجيل الدخول. يرجى التحقق من بيانات الاعتماد الخاصة بك.",
|
|
21
|
+
"registrationFailed": "فشل التسجيل. يرجى المحاولة مرة أخرى.",
|
|
22
|
+
"logout": "تسجيل الخروج",
|
|
23
|
+
"profile": "حساب تعريفي",
|
|
24
|
+
"account": "حساب",
|
|
25
|
+
"signedInAs": "تم تسجيل الدخول باسم",
|
|
26
|
+
"guestMode": "وضع الضيف",
|
|
27
|
+
"guestModeDescription": "يتم تخزين بياناتك محليًا على هذا الجهاز",
|
|
28
|
+
"syncData": "مزامنة البيانات المحلية",
|
|
29
|
+
"syncDataDescription": "قم بتحميل البطاقات التعليمية المحلية الخاصة بك إلى السحابة",
|
|
30
|
+
"syncSuccess": "تمت مزامنة البيانات بنجاح",
|
|
31
|
+
"syncFailed": "فشلت مزامنة البيانات"
|
|
32
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"days": {
|
|
3
|
+
"full": {
|
|
4
|
+
"monday": "الاثنين",
|
|
5
|
+
"tuesday": "يوم الثلاثاء",
|
|
6
|
+
"wednesday": "الأربعاء",
|
|
7
|
+
"thursday": "يوم الخميس",
|
|
8
|
+
"friday": "جمعة",
|
|
9
|
+
"saturday": "السبت",
|
|
10
|
+
"sunday": "الأحد"
|
|
11
|
+
},
|
|
12
|
+
"short": {
|
|
13
|
+
"mon": "الاثنين",
|
|
14
|
+
"tue": "الثلاثاء",
|
|
15
|
+
"wed": "تزوج",
|
|
16
|
+
"thu": "الخميس",
|
|
17
|
+
"fri": "الجمعة",
|
|
18
|
+
"sat": "قعد",
|
|
19
|
+
"sun": "شمس"
|
|
20
|
+
},
|
|
21
|
+
"abbreviated": {
|
|
22
|
+
"m": "م",
|
|
23
|
+
"t": "ت",
|
|
24
|
+
"w": "دبليو",
|
|
25
|
+
"th": "ذ",
|
|
26
|
+
"f": "ف",
|
|
27
|
+
"sa": "سا",
|
|
28
|
+
"su": "سو"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"months": {
|
|
32
|
+
"full": {
|
|
33
|
+
"january": "يناير",
|
|
34
|
+
"february": "فبراير",
|
|
35
|
+
"march": "يمشي",
|
|
36
|
+
"april": "أبريل",
|
|
37
|
+
"may": "يمكن",
|
|
38
|
+
"june": "يونيو",
|
|
39
|
+
"july": "يوليو",
|
|
40
|
+
"august": "أغسطس",
|
|
41
|
+
"september": "سبتمبر",
|
|
42
|
+
"october": "أكتوبر",
|
|
43
|
+
"november": "نوفمبر",
|
|
44
|
+
"december": "ديسمبر"
|
|
45
|
+
},
|
|
46
|
+
"short": {
|
|
47
|
+
"jan": "يناير",
|
|
48
|
+
"feb": "فبراير",
|
|
49
|
+
"mar": "مارس",
|
|
50
|
+
"apr": "أبريل",
|
|
51
|
+
"may": "يمكن",
|
|
52
|
+
"jun": "يونيو",
|
|
53
|
+
"jul": "يوليو",
|
|
54
|
+
"aug": "أغسطس",
|
|
55
|
+
"sep": "سبتمبر",
|
|
56
|
+
"oct": "أكتوبر",
|
|
57
|
+
"nov": "نوفمبر",
|
|
58
|
+
"dec": "ديسمبر"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"relative": {
|
|
62
|
+
"now": "الآن",
|
|
63
|
+
"justNow": "الآن",
|
|
64
|
+
"today": "اليوم",
|
|
65
|
+
"yesterday": "أمس",
|
|
66
|
+
"tomorrow": "غداً",
|
|
67
|
+
"thisWeek": "هذا الاسبوع",
|
|
68
|
+
"lastWeek": "الأسبوع الماضي",
|
|
69
|
+
"nextWeek": "الأسبوع المقبل",
|
|
70
|
+
"thisMonth": "هذا الشهر",
|
|
71
|
+
"lastMonth": "الشهر الماضي",
|
|
72
|
+
"nextMonth": "الشهر المقبل",
|
|
73
|
+
"thisYear": "هذا العام",
|
|
74
|
+
"lastYear": "العام الماضي",
|
|
75
|
+
"nextYear": "العام القادم",
|
|
76
|
+
"ago": "منذ",
|
|
77
|
+
"fromNow": "من الآن",
|
|
78
|
+
"in": "في"
|
|
79
|
+
},
|
|
80
|
+
"units": {
|
|
81
|
+
"singular": {
|
|
82
|
+
"second": "ثانية",
|
|
83
|
+
"minute": "دقيقة",
|
|
84
|
+
"hour": "ساعة",
|
|
85
|
+
"day": "يوم",
|
|
86
|
+
"week": "أسبوع",
|
|
87
|
+
"month": "شهر",
|
|
88
|
+
"year": "سنة"
|
|
89
|
+
},
|
|
90
|
+
"plural": {
|
|
91
|
+
"seconds": "ثواني",
|
|
92
|
+
"minutes": "دقائق",
|
|
93
|
+
"hours": "ساعات",
|
|
94
|
+
"days": "أيام",
|
|
95
|
+
"weeks": "أسابيع",
|
|
96
|
+
"months": "شهور",
|
|
97
|
+
"years": "سنين"
|
|
98
|
+
},
|
|
99
|
+
"short": {
|
|
100
|
+
"s": "ق",
|
|
101
|
+
"m": "م",
|
|
102
|
+
"h": "ح",
|
|
103
|
+
"d": "د",
|
|
104
|
+
"w": "ث",
|
|
105
|
+
"mo": "شهر",
|
|
106
|
+
"y": "ذ"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"periods": {
|
|
110
|
+
"am": "أكون",
|
|
111
|
+
"pm": "مساءً",
|
|
112
|
+
"morning": "صباح",
|
|
113
|
+
"afternoon": "بعد الظهر",
|
|
114
|
+
"evening": "مساء",
|
|
115
|
+
"night": "ليلة",
|
|
116
|
+
"midnight": "منتصف الليل",
|
|
117
|
+
"noon": "الظهر"
|
|
118
|
+
},
|
|
119
|
+
"formats": {
|
|
120
|
+
"date": "تاريخ",
|
|
121
|
+
"time": "وقت",
|
|
122
|
+
"datetime": "التاريخ والوقت",
|
|
123
|
+
"duration": "مدة",
|
|
124
|
+
"startDate": "تاريخ البدء",
|
|
125
|
+
"endDate": "تاريخ الانتهاء",
|
|
126
|
+
"startTime": "وقت البدء",
|
|
127
|
+
"endTime": "وقت النهاية",
|
|
128
|
+
"selectDate": "حدد التاريخ",
|
|
129
|
+
"selectTime": "حدد الوقت"
|
|
130
|
+
},
|
|
131
|
+
"actions": {
|
|
132
|
+
"setDate": "تعيين التاريخ",
|
|
133
|
+
"setTime": "ضبط الوقت",
|
|
134
|
+
"clearDate": "مسح التاريخ",
|
|
135
|
+
"clearTime": "وقت واضح",
|
|
136
|
+
"confirmDate": "تأكيد التاريخ",
|
|
137
|
+
"confirmTime": "تأكيد الوقت",
|
|
138
|
+
"cancel": "يلغي"
|
|
139
|
+
}
|
|
140
|
+
}
|