Dynamically change language inside app
See original GitHub issueCan you provide an example of dynamically change the language inside the app like the one you mentioned in #1? I don’t understand when RN.languages
event listener for change actually triggers.
Issue Analytics
- State:
- Created 5 years ago
- Comments:28 (5 by maintainers)
Top Results From Across the Web
The All-In-One Guide for Changing App Locale Dynamically in ...
Select locale in available qualifiers then press >>. Now you can select language and region. The final screen will be like below. I...
Read more >Android - Dynamically change language - Stack Overflow
In my Android app i want to change the default language dinamically. I have implemented this method: public void changeLanguage(String lang) ...
Read more >How to force change App Language programmatically without ...
You can give feature inside your app and let the user select the app language instead of changing system language and then see...
Read more >How to Change the Whole App Language in Android ...
Go to app > res > values > right-click > New > Value Resource File and name it as strings. Now, we have...
Read more >How to dynamically change display name of mobile app?
In our application we support 3 languages, say, A, B and C. If the default language of the phone is A, we want...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sWgiraffe @MrEdinLaw i had managed to dynamic language switch by using
inside my main app App.js
and where i want to change my language - in my case settings screen i have
here is my i18n.js
of course inside Appjs i included the i18n
import i18n from "./i18n";
please let me know if this helps
using React navigation and redux, i ended up passing the language to the
AppNavigator
likeso each time this prop changes on the store it makes the screens reload