On Android it is possible to have different resources depending on the locale or carrier. The app name specified in the manifest can reference a string from these resources.
What I'm wondering is:
With Locale®, you create situations specifying conditions under which your phone's settings should change. For example, your "At Work" situation notices when your Location condition is "77 Massachusetts Ave.," and changes your Volume setting to vibrate.
Change the language setting for a specific app On your Android phone, open your Settings app. App languages. Select the app you want to change.
The default Locale is constructed statically at runtime for your application process from the system property settings, so it will represent the Locale selected on that device when the application was launched.
yes,it works.Exactly in the way this says.
If your locale is say japan then android will search for the string resource at
res/values-ja/strings.xml
If resource is not there then it will search in res/values/strings.xml
I tested it and it really works
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With