Closed
Description
Bug
findBestAvailableLanguage
is not falling to fallback language i.e. English when I change the language to Spanish.
Steps To Reproduce
Just like the example app, I'm using three languages English, French, and Arabic.
- When I change the language to French it shows the French Text
- Now, when I change the language to Spanish which is not supported and should fallback to English as a fallback, it remains French.
Environment info
"i18n-js": "^3.3.0",
"lodash.memoize": "^4.1.2",
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-localize": "^1.1.3"
Describe what you expected to happen:
- When I change the language to Spanish it should fallback to English language
Reproducible sample code
Find the repo here
Metadata
Metadata
Assignees
Labels
No labels