crowdin / crowdin/mobile-sdk-android
Fallback to same language, but different dialect
- Dominant language
- Kotlin
- Stars
- 130
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Sometimes we have languages translated, like `fr_FR`, however, the user has the preferred language as `fr_CA`. In this case, English is returned as that's the only packaged resources with the app.
**Describe the solution you'd like**
Add a config that enables strings to fetch any "sister" dialects that are translated. The way Android does it now is first it searches for preferred locale, if none are present, look for just the language code, and if that's not present, look for "children" of the language code for translations.
**Describe alternatives you've considered**
Packaging the translated strings.xml files with our app, but this increases our apk size, and also, removes the ability for us to translate in real time.
Contributor guide
Assessment
This issue has not been assessed yet.