@umituz/react-native-localization 1.0.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 +78 -15
- 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 +9 -2
- package/scripts/check-translations.js +354 -0
- package/scripts/createLocaleLoaders.js +178 -0
- package/scripts/remove-unused-keys.js +216 -0
- package/scripts/setup-languages.js +122 -0
- package/scripts/translate-missing.js +500 -0
- package/scripts/utils/findLocalesDir.js +79 -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
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Localization Store
|
|
3
3
|
* Zustand state management for language preferences with AsyncStorage persistence
|
|
4
|
+
*
|
|
5
|
+
* REFACTORED: Now uses centralized AsyncStorageWrapper for DRY compliance
|
|
6
|
+
* - Eliminates duplicate AsyncStorage calls
|
|
7
|
+
* - Consistent error handling and logging
|
|
8
|
+
* - Type-safe storage operations
|
|
4
9
|
*/
|
|
5
10
|
|
|
6
|
-
import { create } from
|
|
7
|
-
import { StorageWrapper, STORAGE_KEYS } from
|
|
8
|
-
import i18n from
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
+
import { create } from "zustand";
|
|
12
|
+
import { StorageWrapper, STORAGE_KEYS } from "./AsyncStorageWrapper";
|
|
13
|
+
import i18n from "../config/i18n";
|
|
14
|
+
import {
|
|
15
|
+
SUPPORTED_LANGUAGES,
|
|
16
|
+
DEFAULT_LANGUAGE,
|
|
17
|
+
getLanguageByCode,
|
|
18
|
+
getDeviceLocale,
|
|
19
|
+
} from "../config/languages";
|
|
20
|
+
import type { Language } from "../../domain/repositories/ILocalizationRepository";
|
|
11
21
|
|
|
12
22
|
interface LocalizationState {
|
|
13
23
|
currentLanguage: string;
|
|
@@ -32,37 +42,115 @@ export const useLocalizationStore = create<LocalizationState>((set, get) => ({
|
|
|
32
42
|
* - Fallback: English (en-US) if device locale not supported
|
|
33
43
|
*/
|
|
34
44
|
initialize: async () => {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
try {
|
|
46
|
+
/* eslint-disable-next-line no-console */
|
|
47
|
+
if (__DEV__)
|
|
48
|
+
console.log("[LocalizationStore] Starting initialization...");
|
|
49
|
+
|
|
50
|
+
// ✅ CRITICAL FIX: Don't reset isInitialized if already initialized
|
|
51
|
+
// This prevents UI flash on re-initialization
|
|
52
|
+
const { isInitialized: alreadyInitialized } = get();
|
|
53
|
+
if (alreadyInitialized) {
|
|
54
|
+
/* eslint-disable-next-line no-console */
|
|
55
|
+
if (__DEV__)
|
|
56
|
+
console.log("[LocalizationStore] Already initialized, skipping");
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* eslint-disable-next-line no-console */
|
|
61
|
+
if (__DEV__)
|
|
62
|
+
console.log("[LocalizationStore] Getting saved language preference...");
|
|
63
|
+
// ✅ Get saved language preference (returns null if not exists)
|
|
64
|
+
const savedLanguage = await StorageWrapper.getString(
|
|
65
|
+
STORAGE_KEYS.LANGUAGE,
|
|
66
|
+
DEFAULT_LANGUAGE,
|
|
67
|
+
);
|
|
68
|
+
/* eslint-disable-next-line no-console */
|
|
69
|
+
if (__DEV__)
|
|
70
|
+
console.log("[LocalizationStore] Saved language:", savedLanguage);
|
|
71
|
+
|
|
72
|
+
// ✅ DEVICE LOCALE DETECTION: Use device locale on first launch
|
|
73
|
+
let languageCode: string;
|
|
74
|
+
if (savedLanguage && savedLanguage !== DEFAULT_LANGUAGE) {
|
|
75
|
+
// User has previously selected a language → Use their choice
|
|
76
|
+
languageCode = savedLanguage;
|
|
77
|
+
/* eslint-disable-next-line no-console */
|
|
78
|
+
if (__DEV__)
|
|
79
|
+
console.log(
|
|
80
|
+
"[LocalizationStore] Using saved language:",
|
|
81
|
+
languageCode,
|
|
82
|
+
);
|
|
83
|
+
} else {
|
|
84
|
+
/* eslint-disable-next-line no-console */
|
|
85
|
+
if (__DEV__)
|
|
86
|
+
console.log(
|
|
87
|
+
"[LocalizationStore] First launch, detecting device locale...",
|
|
88
|
+
);
|
|
89
|
+
// First launch → Detect device locale automatically
|
|
90
|
+
languageCode = getDeviceLocale();
|
|
91
|
+
/* eslint-disable-next-line no-console */
|
|
92
|
+
if (__DEV__)
|
|
93
|
+
console.log(
|
|
94
|
+
"[LocalizationStore] Detected device locale:",
|
|
95
|
+
languageCode,
|
|
96
|
+
);
|
|
97
|
+
// Save detected locale for future launches
|
|
98
|
+
await StorageWrapper.setString(STORAGE_KEYS.LANGUAGE, languageCode);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* eslint-disable-next-line no-console */
|
|
102
|
+
if (__DEV__)
|
|
103
|
+
console.log("[LocalizationStore] Validating language code...");
|
|
104
|
+
// ✅ DEFENSIVE: Validate language exists, fallback to default
|
|
105
|
+
const language = getLanguageByCode(languageCode);
|
|
106
|
+
const finalLanguage = language ? languageCode : DEFAULT_LANGUAGE;
|
|
107
|
+
const finalLanguageObj = getLanguageByCode(finalLanguage);
|
|
108
|
+
/* eslint-disable-next-line no-console */
|
|
109
|
+
if (__DEV__)
|
|
110
|
+
console.log("[LocalizationStore] Final language:", finalLanguage);
|
|
111
|
+
|
|
112
|
+
/* eslint-disable-next-line no-console */
|
|
113
|
+
if (__DEV__) console.log("[LocalizationStore] Changing i18n language...");
|
|
114
|
+
// Only change language if i18n is available
|
|
115
|
+
if (i18n && typeof i18n.changeLanguage === "function") {
|
|
116
|
+
await i18n.changeLanguage(finalLanguage);
|
|
117
|
+
/* eslint-disable-next-line no-console */
|
|
118
|
+
if (__DEV__) console.log("[LocalizationStore] i18n language changed");
|
|
119
|
+
} else {
|
|
120
|
+
/* eslint-disable-next-line no-console */
|
|
121
|
+
if (__DEV__)
|
|
122
|
+
console.warn(
|
|
123
|
+
"[LocalizationStore] i18n not available, skipping language change",
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
set({
|
|
128
|
+
currentLanguage: finalLanguage,
|
|
129
|
+
isRTL: finalLanguageObj?.rtl || false,
|
|
130
|
+
isInitialized: true, // ✅ Always set true to unblock UI
|
|
131
|
+
});
|
|
132
|
+
/* eslint-disable-next-line no-console */
|
|
133
|
+
if (__DEV__)
|
|
134
|
+
console.log(
|
|
135
|
+
"[LocalizationStore] Initialization completed successfully",
|
|
136
|
+
);
|
|
137
|
+
} catch (error) {
|
|
138
|
+
/* eslint-disable-next-line no-console */
|
|
139
|
+
if (__DEV__)
|
|
140
|
+
console.error("[LocalizationStore] Initialization error:", error);
|
|
141
|
+
/* eslint-disable-next-line no-console */
|
|
142
|
+
if (__DEV__)
|
|
143
|
+
console.error("[LocalizationStore] Error details:", {
|
|
144
|
+
message: error instanceof Error ? error.message : String(error),
|
|
145
|
+
stack: error instanceof Error ? error.stack : "No stack",
|
|
146
|
+
name: error instanceof Error ? error.name : "Unknown",
|
|
147
|
+
});
|
|
148
|
+
// Set initialized even on error to prevent blocking UI
|
|
149
|
+
set({
|
|
150
|
+
isInitialized: true,
|
|
151
|
+
});
|
|
152
|
+
throw error;
|
|
53
153
|
}
|
|
54
|
-
|
|
55
|
-
// ✅ DEFENSIVE: Validate language exists, fallback to default
|
|
56
|
-
const language = getLanguageByCode(languageCode);
|
|
57
|
-
const finalLanguage = language ? languageCode : DEFAULT_LANGUAGE;
|
|
58
|
-
const finalLanguageObj = getLanguageByCode(finalLanguage);
|
|
59
|
-
|
|
60
|
-
await i18n.changeLanguage(finalLanguage);
|
|
61
|
-
set({
|
|
62
|
-
currentLanguage: finalLanguage,
|
|
63
|
-
isRTL: finalLanguageObj?.rtl || false,
|
|
64
|
-
isInitialized: true, // ✅ Always set true to unblock UI
|
|
65
|
-
});
|
|
66
154
|
},
|
|
67
155
|
|
|
68
156
|
/**
|
|
@@ -75,8 +163,10 @@ export const useLocalizationStore = create<LocalizationState>((set, get) => ({
|
|
|
75
163
|
// ✅ DEFENSIVE: Early return if unsupported language
|
|
76
164
|
if (!language) return;
|
|
77
165
|
|
|
78
|
-
// Update i18n
|
|
79
|
-
|
|
166
|
+
// Update i18n (only if available)
|
|
167
|
+
if (i18n && typeof i18n.changeLanguage === "function") {
|
|
168
|
+
await i18n.changeLanguage(languageCode);
|
|
169
|
+
}
|
|
80
170
|
|
|
81
171
|
// Update state
|
|
82
172
|
set({
|
|
@@ -84,7 +174,7 @@ export const useLocalizationStore = create<LocalizationState>((set, get) => ({
|
|
|
84
174
|
isRTL: language.rtl || false,
|
|
85
175
|
});
|
|
86
176
|
|
|
87
|
-
//
|
|
177
|
+
// ✅ DRY: Single line replaces try/catch/logging
|
|
88
178
|
await StorageWrapper.setString(STORAGE_KEYS.LANGUAGE, languageCode);
|
|
89
179
|
},
|
|
90
180
|
}));
|
|
@@ -105,8 +195,19 @@ export const useLocalization = () => {
|
|
|
105
195
|
|
|
106
196
|
const currentLanguageObject = getLanguageByCode(currentLanguage);
|
|
107
197
|
|
|
198
|
+
// Safe translation function - returns key if i18n not available
|
|
199
|
+
const t = (key: string, options?: any): string => {
|
|
200
|
+
if (i18n && typeof i18n.t === "function") {
|
|
201
|
+
const result = i18n.t(key, options);
|
|
202
|
+
// i18n.t can return string or object, ensure we return string
|
|
203
|
+
return typeof result === "string" ? result : key;
|
|
204
|
+
}
|
|
205
|
+
// Fallback: return key if i18n not available
|
|
206
|
+
return key;
|
|
207
|
+
};
|
|
208
|
+
|
|
108
209
|
return {
|
|
109
|
-
t
|
|
210
|
+
t,
|
|
110
211
|
currentLanguage,
|
|
111
212
|
currentLanguageObject,
|
|
112
213
|
isRTL,
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": {
|
|
3
|
-
"fadeIn": "Fade In",
|
|
4
|
-
"fadeOut": "Fade Out",
|
|
5
|
-
"slideInUp": "Slide In Up",
|
|
6
|
-
"slideInDown": "Slide In Down",
|
|
7
|
-
"slideInLeft": "Slide In Left",
|
|
8
|
-
"slideInRight": "Slide In Right",
|
|
9
|
-
"scaleIn": "Scale In",
|
|
10
|
-
"scaleOut": "Scale Out",
|
|
11
|
-
"bounce": "Bounce",
|
|
12
|
-
"shake": "Shake"
|
|
13
|
-
},
|
|
14
|
-
"gestures": {
|
|
15
|
-
"tap": "Tap",
|
|
16
|
-
"pan": "Pan",
|
|
17
|
-
"pinch": "Pinch",
|
|
18
|
-
"rotation": "Rotation",
|
|
19
|
-
"longPress": "Long Press"
|
|
20
|
-
},
|
|
21
|
-
"actions": {
|
|
22
|
-
"animate": "Animate",
|
|
23
|
-
"reset": "Reset Animation"
|
|
24
|
-
},
|
|
25
|
-
"labels": {
|
|
26
|
-
"duration": "Duration",
|
|
27
|
-
"damping": "Damping",
|
|
28
|
-
"stiffness": "Stiffness"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"recording": {
|
|
3
|
-
"start": "Start Recording",
|
|
4
|
-
"stop": "Stop Recording",
|
|
5
|
-
"pause": "Pause Recording",
|
|
6
|
-
"resume": "Resume Recording",
|
|
7
|
-
"save": "Save Recording",
|
|
8
|
-
"delete": "Delete Recording",
|
|
9
|
-
"recording": "Recording...",
|
|
10
|
-
"paused": "Paused",
|
|
11
|
-
"duration": "Duration"
|
|
12
|
-
},
|
|
13
|
-
"playback": {
|
|
14
|
-
"play": "Play",
|
|
15
|
-
"pause": "Pause",
|
|
16
|
-
"stop": "Stop",
|
|
17
|
-
"replay": "Replay",
|
|
18
|
-
"forward": "Forward",
|
|
19
|
-
"backward": "Backward",
|
|
20
|
-
"speed": "Speed",
|
|
21
|
-
"volume": "Volume",
|
|
22
|
-
"mute": "Mute",
|
|
23
|
-
"unmute": "Unmute",
|
|
24
|
-
"loop": "Loop",
|
|
25
|
-
"playing": "Playing",
|
|
26
|
-
"buffering": "Buffering",
|
|
27
|
-
"finished": "Finished"
|
|
28
|
-
},
|
|
29
|
-
"permissions": {
|
|
30
|
-
"microphoneTitle": "Microphone Permission",
|
|
31
|
-
"microphoneMessage": "This app needs microphone access to record audio",
|
|
32
|
-
"deniedTitle": "Permission Denied",
|
|
33
|
-
"deniedMessage": "Please enable microphone permissions in Settings",
|
|
34
|
-
"openSettings": "Open Settings"
|
|
35
|
-
},
|
|
36
|
-
"quality": {
|
|
37
|
-
"low": "Low Quality",
|
|
38
|
-
"high": "High Quality"
|
|
39
|
-
},
|
|
40
|
-
"errors": {
|
|
41
|
-
"recordFailed": "Failed to start recording",
|
|
42
|
-
"stopFailed": "Failed to stop recording",
|
|
43
|
-
"playFailed": "Failed to play audio",
|
|
44
|
-
"loadFailed": "Failed to load audio",
|
|
45
|
-
"saveFailed": "Failed to save recording",
|
|
46
|
-
"permissionDenied": "Microphone permission denied",
|
|
47
|
-
"noRecording": "No recording available",
|
|
48
|
-
"invalidFile": "Invalid audio file"
|
|
49
|
-
},
|
|
50
|
-
"formats": {
|
|
51
|
-
"aac": "AAC",
|
|
52
|
-
"mp3": "MP3",
|
|
53
|
-
"m4a": "M4A",
|
|
54
|
-
"wav": "WAV"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"picker": {
|
|
3
|
-
"title": "Select Emoji",
|
|
4
|
-
"search": "Search emojis...",
|
|
5
|
-
"searchPlaceholder": "Search",
|
|
6
|
-
"noResults": "No emojis found",
|
|
7
|
-
"recentlyUsed": "Recently Used"
|
|
8
|
-
},
|
|
9
|
-
"categories": {
|
|
10
|
-
"smileys_emotion": "Smileys & Emotion",
|
|
11
|
-
"people_body": "People & Body",
|
|
12
|
-
"animals_nature": "Animals & Nature",
|
|
13
|
-
"food_drink": "Food & Drink",
|
|
14
|
-
"travel_places": "Travel & Places",
|
|
15
|
-
"activities": "Activities",
|
|
16
|
-
"objects": "Objects",
|
|
17
|
-
"symbols": "Symbols",
|
|
18
|
-
"flags": "Flags"
|
|
19
|
-
},
|
|
20
|
-
"actions": {
|
|
21
|
-
"select": "Select",
|
|
22
|
-
"cancel": "Cancel",
|
|
23
|
-
"clear": "Clear Emoji"
|
|
24
|
-
},
|
|
25
|
-
"validation": {
|
|
26
|
-
"required": "Please select an emoji",
|
|
27
|
-
"invalid": "Invalid emoji"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"validation": {
|
|
3
|
-
"required": "This field is required",
|
|
4
|
-
"invalidEmail": "Invalid email address",
|
|
5
|
-
"invalidPhone": "Invalid phone number",
|
|
6
|
-
"passwordTooShort": "Password must be at least 8 characters",
|
|
7
|
-
"passwordTooLong": "Password must be at most 128 characters",
|
|
8
|
-
"passwordsDontMatch": "Passwords do not match",
|
|
9
|
-
"nameTooShort": "Name must be at least 2 characters",
|
|
10
|
-
"nameTooLong": "Name must be at most 50 characters"
|
|
11
|
-
},
|
|
12
|
-
"fields": {
|
|
13
|
-
"email": "Email",
|
|
14
|
-
"password": "Password",
|
|
15
|
-
"passwordConfirmation": "Confirm Password",
|
|
16
|
-
"name": "Name",
|
|
17
|
-
"phone": "Phone Number",
|
|
18
|
-
"currentPassword": "Current Password",
|
|
19
|
-
"newPassword": "New Password",
|
|
20
|
-
"newPasswordConfirmation": "Confirm New Password",
|
|
21
|
-
"subject": "Subject",
|
|
22
|
-
"message": "Message"
|
|
23
|
-
},
|
|
24
|
-
"actions": {
|
|
25
|
-
"submit": "Submit",
|
|
26
|
-
"cancel": "Cancel",
|
|
27
|
-
"reset": "Reset",
|
|
28
|
-
"save": "Save",
|
|
29
|
-
"update": "Update"
|
|
30
|
-
},
|
|
31
|
-
"schemas": {
|
|
32
|
-
"login": "Login Form",
|
|
33
|
-
"register": "Registration Form",
|
|
34
|
-
"profile": "Profile Form",
|
|
35
|
-
"changePassword": "Change Password",
|
|
36
|
-
"contact": "Contact Form"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"libraries": {
|
|
3
|
-
"lucide": "Lucide Icons",
|
|
4
|
-
"material": "Material Design",
|
|
5
|
-
"fontawesome": "FontAwesome",
|
|
6
|
-
"ionicons": "Ionicons"
|
|
7
|
-
},
|
|
8
|
-
"categories": {
|
|
9
|
-
"all": "All Icons",
|
|
10
|
-
"navigation": "Navigation",
|
|
11
|
-
"action": "Action",
|
|
12
|
-
"social": "Social",
|
|
13
|
-
"communication": "Communication",
|
|
14
|
-
"media": "Media",
|
|
15
|
-
"business": "Business",
|
|
16
|
-
"weather": "Weather",
|
|
17
|
-
"symbols": "Symbols",
|
|
18
|
-
"emoji": "Emoji"
|
|
19
|
-
},
|
|
20
|
-
"picker": {
|
|
21
|
-
"title": "Select Icon",
|
|
22
|
-
"search": "Search icons...",
|
|
23
|
-
"searchPlaceholder": "Search",
|
|
24
|
-
"noResults": "No icons found",
|
|
25
|
-
"selected": "Selected",
|
|
26
|
-
"selectLibrary": "Select Library",
|
|
27
|
-
"selectCategory": "Select Category"
|
|
28
|
-
},
|
|
29
|
-
"actions": {
|
|
30
|
-
"select": "Select",
|
|
31
|
-
"cancel": "Cancel",
|
|
32
|
-
"clear": "Clear Selection"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permission": {
|
|
3
|
-
"title": "Location Permission",
|
|
4
|
-
"message": "This app needs access to your location to provide location-based features.",
|
|
5
|
-
"request": "Grant Location Permission",
|
|
6
|
-
"denied": "Location permission denied",
|
|
7
|
-
"granted": "Location permission granted",
|
|
8
|
-
"unknown": "Location permission status unknown"
|
|
9
|
-
},
|
|
10
|
-
"status": {
|
|
11
|
-
"loading": "Getting your location...",
|
|
12
|
-
"success": "Location retrieved successfully",
|
|
13
|
-
"failed": "Unable to get location",
|
|
14
|
-
"unavailable": "Location services not available",
|
|
15
|
-
"cached": "Using cached location",
|
|
16
|
-
"timeout": "Location request timed out"
|
|
17
|
-
},
|
|
18
|
-
"accuracy": {
|
|
19
|
-
"high": "High accuracy",
|
|
20
|
-
"balanced": "Balanced accuracy",
|
|
21
|
-
"low": "Low accuracy",
|
|
22
|
-
"lowest": "Lowest accuracy"
|
|
23
|
-
},
|
|
24
|
-
"errors": {
|
|
25
|
-
"notAvailable": "Location services not available on this platform",
|
|
26
|
-
"permissionDenied": "Location permission denied. Please enable location access in settings.",
|
|
27
|
-
"timeout": "Location request timed out. Please try again.",
|
|
28
|
-
"unknown": "An unknown error occurred while getting location",
|
|
29
|
-
"noLocation": "Unable to determine your location"
|
|
30
|
-
},
|
|
31
|
-
"actions": {
|
|
32
|
-
"getCurrentLocation": "Get Current Location",
|
|
33
|
-
"refreshLocation": "Refresh Location",
|
|
34
|
-
"clearLocation": "Clear Location",
|
|
35
|
-
"openSettings": "Open Settings"
|
|
36
|
-
},
|
|
37
|
-
"labels": {
|
|
38
|
-
"latitude": "Latitude",
|
|
39
|
-
"longitude": "Longitude",
|
|
40
|
-
"accuracy": "Accuracy",
|
|
41
|
-
"address": "Address",
|
|
42
|
-
"timestamp": "Time",
|
|
43
|
-
"coordinates": "Coordinates"
|
|
44
|
-
},
|
|
45
|
-
"units": {
|
|
46
|
-
"meters": "meters",
|
|
47
|
-
"kilometers": "kilometers"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"picker": {
|
|
3
|
-
"selectImage": "Select Image",
|
|
4
|
-
"selectImages": "Select Images",
|
|
5
|
-
"selectVideo": "Select Video",
|
|
6
|
-
"takePhoto": "Take Photo",
|
|
7
|
-
"chooseFromLibrary": "Choose from Library",
|
|
8
|
-
"cancel": "Cancel"
|
|
9
|
-
},
|
|
10
|
-
"permissions": {
|
|
11
|
-
"cameraTitle": "Camera Permission",
|
|
12
|
-
"cameraMessage": "This app needs camera access to take photos",
|
|
13
|
-
"libraryTitle": "Photo Library Permission",
|
|
14
|
-
"libraryMessage": "This app needs access to your photo library",
|
|
15
|
-
"deniedTitle": "Permission Denied",
|
|
16
|
-
"deniedMessage": "Please enable permissions in Settings",
|
|
17
|
-
"openSettings": "Open Settings"
|
|
18
|
-
},
|
|
19
|
-
"actions": {
|
|
20
|
-
"resize": "Resize",
|
|
21
|
-
"crop": "Crop",
|
|
22
|
-
"rotate": "Rotate",
|
|
23
|
-
"flip": "Flip",
|
|
24
|
-
"compress": "Compress",
|
|
25
|
-
"save": "Save",
|
|
26
|
-
"delete": "Delete",
|
|
27
|
-
"edit": "Edit"
|
|
28
|
-
},
|
|
29
|
-
"errors": {
|
|
30
|
-
"pickFailed": "Failed to pick image",
|
|
31
|
-
"cameraFailed": "Failed to launch camera",
|
|
32
|
-
"saveFailed": "Failed to save image",
|
|
33
|
-
"manipulateFailed": "Failed to edit image",
|
|
34
|
-
"permissionDenied": "Permission denied",
|
|
35
|
-
"noImage": "No image selected",
|
|
36
|
-
"invalidImage": "Invalid image file",
|
|
37
|
-
"tooLarge": "File size too large"
|
|
38
|
-
},
|
|
39
|
-
"quality": {
|
|
40
|
-
"low": "Low",
|
|
41
|
-
"medium": "Medium",
|
|
42
|
-
"high": "High"
|
|
43
|
-
},
|
|
44
|
-
"format": {
|
|
45
|
-
"jpeg": "JPEG",
|
|
46
|
-
"png": "PNG",
|
|
47
|
-
"webp": "WebP"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"types": {
|
|
3
|
-
"success": "Success",
|
|
4
|
-
"error": "Error",
|
|
5
|
-
"info": "Info",
|
|
6
|
-
"warning": "Warning"
|
|
7
|
-
},
|
|
8
|
-
"position": {
|
|
9
|
-
"top": "Top",
|
|
10
|
-
"bottom": "Bottom"
|
|
11
|
-
},
|
|
12
|
-
"presets": {
|
|
13
|
-
"saved": "Saved",
|
|
14
|
-
"savedDescription": "Your changes have been saved",
|
|
15
|
-
"deleted": "Deleted",
|
|
16
|
-
"deletedDescription": "Item has been removed",
|
|
17
|
-
"copied": "Copied",
|
|
18
|
-
"copiedDescription": "Copied to clipboard",
|
|
19
|
-
"errorGeneric": "Error",
|
|
20
|
-
"errorGenericDescription": "Something went wrong. Please try again.",
|
|
21
|
-
"errorNetwork": "Network Error",
|
|
22
|
-
"errorNetworkDescription": "Please check your connection",
|
|
23
|
-
"errorValidation": "Validation Error",
|
|
24
|
-
"errorValidationDescription": "Please check your input",
|
|
25
|
-
"infoLoading": "Loading",
|
|
26
|
-
"infoLoadingDescription": "Please wait...",
|
|
27
|
-
"infoSyncing": "Syncing",
|
|
28
|
-
"infoSyncingDescription": "Syncing your data...",
|
|
29
|
-
"warningUnsaved": "Unsaved Changes",
|
|
30
|
-
"warningUnsavedDescription": "You have unsaved changes",
|
|
31
|
-
"warningLimit": "Limit Reached",
|
|
32
|
-
"warningLimitDescription": "You have reached the limit"
|
|
33
|
-
},
|
|
34
|
-
"labels": {
|
|
35
|
-
"visibilityTime": "Display Duration",
|
|
36
|
-
"autoHide": "Auto Hide"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": {
|
|
3
|
-
"fadeIn": "Fade In",
|
|
4
|
-
"fadeOut": "Fade Out",
|
|
5
|
-
"slideInUp": "Slide In Up",
|
|
6
|
-
"slideInDown": "Slide In Down",
|
|
7
|
-
"slideInLeft": "Slide In Left",
|
|
8
|
-
"slideInRight": "Slide In Right",
|
|
9
|
-
"scaleIn": "Scale In",
|
|
10
|
-
"scaleOut": "Scale Out",
|
|
11
|
-
"bounce": "Bounce",
|
|
12
|
-
"shake": "Shake"
|
|
13
|
-
},
|
|
14
|
-
"gestures": {
|
|
15
|
-
"tap": "Tap",
|
|
16
|
-
"pan": "Pan",
|
|
17
|
-
"pinch": "Pinch",
|
|
18
|
-
"rotation": "Rotation",
|
|
19
|
-
"longPress": "Long Press"
|
|
20
|
-
},
|
|
21
|
-
"actions": {
|
|
22
|
-
"animate": "Animate",
|
|
23
|
-
"reset": "Reset Animation"
|
|
24
|
-
},
|
|
25
|
-
"labels": {
|
|
26
|
-
"duration": "Duration",
|
|
27
|
-
"damping": "Damping",
|
|
28
|
-
"stiffness": "Stiffness"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"recording": {
|
|
3
|
-
"start": "Start Recording",
|
|
4
|
-
"stop": "Stop Recording",
|
|
5
|
-
"pause": "Pause Recording",
|
|
6
|
-
"resume": "Resume Recording",
|
|
7
|
-
"save": "Save Recording",
|
|
8
|
-
"delete": "Delete Recording",
|
|
9
|
-
"recording": "Recording...",
|
|
10
|
-
"paused": "Paused",
|
|
11
|
-
"duration": "Duration"
|
|
12
|
-
},
|
|
13
|
-
"playback": {
|
|
14
|
-
"play": "Play",
|
|
15
|
-
"pause": "Pause",
|
|
16
|
-
"stop": "Stop",
|
|
17
|
-
"replay": "Replay",
|
|
18
|
-
"forward": "Forward",
|
|
19
|
-
"backward": "Backward",
|
|
20
|
-
"speed": "Speed",
|
|
21
|
-
"volume": "Volume",
|
|
22
|
-
"mute": "Mute",
|
|
23
|
-
"unmute": "Unmute",
|
|
24
|
-
"loop": "Loop",
|
|
25
|
-
"playing": "Playing",
|
|
26
|
-
"buffering": "Buffering",
|
|
27
|
-
"finished": "Finished"
|
|
28
|
-
},
|
|
29
|
-
"permissions": {
|
|
30
|
-
"microphoneTitle": "Microphone Permission",
|
|
31
|
-
"microphoneMessage": "This app needs microphone access to record audio",
|
|
32
|
-
"deniedTitle": "Permission Denied",
|
|
33
|
-
"deniedMessage": "Please enable microphone permissions in Settings",
|
|
34
|
-
"openSettings": "Open Settings"
|
|
35
|
-
},
|
|
36
|
-
"quality": {
|
|
37
|
-
"low": "Low Quality",
|
|
38
|
-
"high": "High Quality"
|
|
39
|
-
},
|
|
40
|
-
"errors": {
|
|
41
|
-
"recordFailed": "Failed to start recording",
|
|
42
|
-
"stopFailed": "Failed to stop recording",
|
|
43
|
-
"playFailed": "Failed to play audio",
|
|
44
|
-
"loadFailed": "Failed to load audio",
|
|
45
|
-
"saveFailed": "Failed to save recording",
|
|
46
|
-
"permissionDenied": "Microphone permission denied",
|
|
47
|
-
"noRecording": "No recording available",
|
|
48
|
-
"invalidFile": "Invalid audio file"
|
|
49
|
-
},
|
|
50
|
-
"formats": {
|
|
51
|
-
"aac": "AAC",
|
|
52
|
-
"mp3": "MP3",
|
|
53
|
-
"m4a": "M4A",
|
|
54
|
-
"wav": "WAV"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"picker": {
|
|
3
|
-
"title": "Select Emoji",
|
|
4
|
-
"search": "Search emojis...",
|
|
5
|
-
"searchPlaceholder": "Search",
|
|
6
|
-
"noResults": "No emojis found",
|
|
7
|
-
"recentlyUsed": "Recently Used"
|
|
8
|
-
},
|
|
9
|
-
"categories": {
|
|
10
|
-
"smileys_emotion": "Smileys & Emotion",
|
|
11
|
-
"people_body": "People & Body",
|
|
12
|
-
"animals_nature": "Animals & Nature",
|
|
13
|
-
"food_drink": "Food & Drink",
|
|
14
|
-
"travel_places": "Travel & Places",
|
|
15
|
-
"activities": "Activities",
|
|
16
|
-
"objects": "Objects",
|
|
17
|
-
"symbols": "Symbols",
|
|
18
|
-
"flags": "Flags"
|
|
19
|
-
},
|
|
20
|
-
"actions": {
|
|
21
|
-
"select": "Select",
|
|
22
|
-
"cancel": "Cancel",
|
|
23
|
-
"clear": "Clear Emoji"
|
|
24
|
-
},
|
|
25
|
-
"validation": {
|
|
26
|
-
"required": "Please select an emoji",
|
|
27
|
-
"invalid": "Invalid emoji"
|
|
28
|
-
}
|
|
29
|
-
}
|