Serbian language has latin and cyrillic alphabets. In the Android Date and Time widgets, the displayed alphabet for Serbian locales seems to be Cyrillic, as shown here.

I wanted to change the locale so that android widgets use the Latin Serbian alphabet.
The current language / country code (with Cyrillic) is sr and RS respectively. Therefore, my setLocale function is called
setLocale("sr", "RS");
This is the part I'm not sure about - according to localeplanet.com , the local code for Latin Serbian is sr_Latn_RS . However, I tried both
setLocale("sr_Latn", "RS"); //and setLocale("sr_Latn_RS", "RS");
none of them work (no changes, by default - in English). According to the Android documentation, it seems that setLocale is expecting two letter codes.
Language codes are two-letter lowercase ISO language codes (such as "en") as defined in ISO 639-1. Country codes are two-letter uppercase ISO codes (for example, "USA") as defined in ISO 3166-1. Option codes are not specified.
So, how do I specify the Latin Serbian language code? Or does he not exist?
source share