top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android: Locales with script part not supported in KitKat?

+3 votes

It appears that in master ( now supports BCP-47, including script names. Does this mean that with the next Android version ("L"?) I will be able to create and use locales like "bs_Latn_BA" or "bs_Cyrl_BA"?

I am currently running KitKat and I don't see a system property that will persist the script part of the locale name. We have just:

I have tried to set the language property to include the script part (setprop persist.sys.language bs_Cyrl), and the value gets stored, but the script part is apparently ignored. If I set the language to bs_Cyrl and the country to BA, I get my dates/times/numbers etc. formatted with Latin values, not Cyrillic (bs_Latn_BA).

Am I correct in concluding that KitKat does not support locale names that include script parts, but that L will (might)? And that it will presumably have a new persistent property that will store the script?

posted May 13, 2014 by Kaushik

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

I want to port the ART in android below kitkat. Is there somebody has done this and can give some instruction?

+2 votes

What's the difference of /system/app/ and /system/priv-app in Kitkat? And which app should be put in /system/priv-app?

+1 vote

According to Kit Kat specs its mentioned that android now supports adaptive playback(MPEG-DASH). How do i go about testing this on Kit Kat?

0 votes

AIDL make the interface easy to write,but the android programmer not totally use aidl anywhere, some case such as ActivityManagerService(they use ActivityManagerNative) not use aidl to descript the interface, neighter ApplicationThread(they use ApplicationThreadNative).

So why they not use aidl in these cases ? cant or something else?