When you want to add locale-specific resources in Android, you have to add the lowercase ISO-3166-1 code of the language to the resource folder's name. So far so good.
Now I want to add Catalan and Basque strings to my application. According to the ISO list, I would have to add values-ca
and values-eu
. But will that work, actually?
Edit: With a custom language chooser in your app, you can provide support for languages even when they're not in the device's settings menu. I've made the library that I use for this available on GitHub: https://github.com/delight-im/Android-Languages
I don't know if Android supports all ISO codes and if these "minor" languages will be displayed at all. If Android is not available in these languages, perhaps the device will not even recognize this language as its default locale and just use es
for Spanish.
Can someone help?
ca
is available fromGingerbread
, I don't think the same about thebasque
language. – VersicularLocale
class in the docs developer.android.com/reference/java/util/Locale.html and see if you can't build your own. – VersicularLocale
class is what pulls the strings in the background and determines what language your app is shown in? I doubt that. – Peacetimevalues-eu
folder will probably never be used. True? – Peacetimeeu
using LocaleSwitch, and guess what - the system's "Settings" app has just been renamed to "Ezarpenak" (which is Basque). In addition to that, the app uses the Basque resources. So has Android been translated to Basque and does it support this language? It seems so. – Peacetime