Reputation: 3
i have problem switching locale language while app is still running, how to do that? Thanks. I have read lot of docs... and still do not find solution.
Upvotes: 0
Views: 457
Reputation: 3056
Be careful, changing the locale on the fly isn't officially supported! You have to take care of refreshing every text yourself! In my case, as I don't have many UI elements, I just did button1.setText(R.string.hello); button2.setText(R.string.bye);
after chaning the locale.
Upvotes: 0