Localization how to implement correctly


#1

Please help me with https://docs.expo.io/versions/v30.0.0/sdk/localization. I can change the language but it keep warning “New Locale is the same as last, locale not changed” because I called
this.localeStore = new Localization.LocaleStore(localization); every time the App is opened and every single component. Can I use one global localeStore and call it in every components??. Please tell me the correct way to implement Localization. Many thanks

FOUND SOLUTION: use redux to store the this.localeStore and I can use it everywhere


closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.