ReactNativeLocalization
ReactNativeLocalization copied to clipboard
Non update of strings values on locale change
Hi @stefalda , I installed this package and just did a quick test by updating my phone language on Android to "Spanish" as this is a language key within the strings
object:
But no change is reflected on the app where these string values are used. It seems the app uses the default en-US strings regardless of device locale.
Can you advise if this was fixed in later versions of the package?
Or maybe it's not picking up the correct locale code. I also tried with Russian, ru
to no effect.
https://github.com/BrianJVarley/react-native-prototyping/blob/dev/src/localization/appStrings.js
Android version: 8.0 Oreo
My package version is "react-native-localization": "^1.0.11"
Hi @BrianJVarley, have you tried restarting the app, because you need to listen to specific notifications to make the language chante automatic...
Hi @BrianJVarley, have you tried restarting the app, because you need to listen to specific notifications to make the language chante automatic...
Can you elaborate this further? What kind of notifications do we need to listen to make the change automatic?