Rahul Kalidindi
Rahul Kalidindi

Reputation: 4736

English to Danish locale issue

I have an activity that consists of textviews. I have made the activity compatible for English and Danish locales.

When i change the locale from English to Danish and select the app from app drawer, only some of the text views are getting converted to Danish locale. But when I re run the app from Eclipse all the textviews are getting converted to Danish.

Is this a bug that from onPause state of an activity the strings.xml is not getting referenced properly or is there any other solutuion to my problem?

Upvotes: 0

Views: 324

Answers (2)

Warpzit
Warpzit

Reputation: 28162

Might be because the activity hasn't been restarted. Try to kill the process and run it again from drawer.

Upvotes: 1

Rahul Kalidindi
Rahul Kalidindi

Reputation: 4736

I found that I have checkboxes whose text is not getting changed immediately when we change the Locale.

So, on the onPause method of the activity I have assigned the values of the Strings again that solved the problem.

Upvotes: 0

Related Questions