Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allowing user to select app language/locale?

I have an Android app that I have just prepared for localization, with one locale completed and more on the way. I want to give users the option of viewing the app in a different locale (ie- language) without having to modify their system locale settings.

So, for example: App has locale capability for en, es, zh, ja. User has "es" selected as their system locale. User can open the application's preferences page and select "ja" locale. App will now display the text/formatting according to the Ja locale of the app.

Is this possible?

like image 589
Quartertone Avatar asked Oct 24 '22 23:10

Quartertone


1 Answers

I stumbled onto the following stackoverflow post while on an unrelated search. This is exactly what I've been looking for.

Changing Locale within the app itself

like image 172
Quartertone Avatar answered Nov 11 '22 09:11

Quartertone