Last modified: 2014-11-11 08:11:55 UTC
It is possible to select sr-cyrl as a language code for a monolingual text value. However it is not possible to save a statement with it. An error occurs. sr-cyrl is not accepted as a language code.
The same problem for smj language code. It is possible to select the language but not to save the statement afterwards. Note that sr-cyrl is a variant of sr, while smj is a normal language code. This could imply that there are two bugs, but I suspect that it is not. If all codes that is non-supported by the localization fails, then that is perhaps an indication where the bug bites?
The language code sma works, it is Souther Sami Language (https://en.wikipedia.org/wiki/Southern_Sami_language) which is a very small language spoken by 500-2000 people.
This is a more complicated problem. We are using two sources for the languages. Frontend uses ULS because this is much more convenient for the user: core/extensions/UniversalLanguageSelector/lib/jquery.uls/data/langdb.yaml Backend uses a core feature: core/languages/Names.php These lists are different. Very, very different, actually. I can't say why, at the moment. So yes, we are aware that this situation clearly needs to be improved.
I think it is important to fix this for the mono-/multilingual text as it create a situation where official names in some official languages can't be given. This is the case for Norway, where we can't give the official name in some of the recognized minority languages.