By default, Android has always displayed Serbian in Cyrillic, but since 7.0, users can choose between Cyrillic and Latin script. Apps (mostly from Google) ususally puts the Cyrillic strings in sr
and the Latin strings in b+sr+Latn
. However, b+sr+Latn
is very different from the usual convention of using dashes (e.g. sr-rRS-port
).
What does b stand for? What is the syntax, and what more can I specify with this?
It's a BCP 47 language tag. It's starts with b and followed by a language, script, region and variant.
BCP 47 documentation
b+sr+Latn
would be Serbian with the Latin script.b+sr+Latn+RS
would be Serbian in Serbia, with the Latin script.
The same can be applied to Azerbaijani:b+az+Latn
– Latin scriptb+az+Cyrl
– Cyrillic scriptb+az+Arab
– Arabic script
But you can virtually do any combination possible:b+ja+Hrkt
– Japanese with only Hiragana and Katakanab+ru+Latn
– Russian with the Latin scriptb+hu+Hung
– Hungarian with the Hungarian Runic scriptb+en+Cyrl+US
– American English with the Cyrillic scriptb+hy+Piqd+DE
– German Armenian with the Klingon script
(but support will be very limited)
See also:
ISO 639-3 language list
ISO 15924 script list
ISO 3166-1 alpha-2 country list
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