Is Android device's locale based solely on Language setting? -
if device chooses french language, locale automatically set french well? or depend on user's current location?
for ios, language , region separate settings while in android, seems choose language not region.
comparison: android - chooses french language, locale becomes fr-fr ios - chooses english language, french region, locale becomes en-fr
for android there other way retrieve device's region?
i have been googling around couldn't find source of information on topic yet.
in android can select portuguese (portugal) or portuguese (brasil) translates pt-pt , pt-br. in case there 2 different languages, find redundant, because better way of handling separate languages , regions.
however can programmatically change language , region, setting:
new locale("pt, "pt");
you can read more programmatically changing language here:
http://gunhansancar.com/change-language-programmatically-in-android/
http://www.sureshjoshi.com/mobile/changing-android-locale-programmatically/
or anywhere on stackoverflow :) there lots of articles written it
Comments
Post a Comment