Android N - Change Locale In Runtime
I have an android app to which I want to add a simple preferences screen with a single option to switch between to languages (english and portuguese). I have already the proper str
Solution 1:
Language
@parameter that you are setting for Locale
object should be
An ISO 639 alpha-2 or alpha-3 language code, or a language subtag
* up to8 characters in length.
According to the documentation. Therefore if you're using something else, you'll not see the updating locales.
Post a Comment for "Android N - Change Locale In Runtime"