My system language is de_CH, but only de_DE is listed among the supported languages. So it falls back to using the English version instead of the closer de_DE. (Yes, de_CH could be added to the list of supported languages, but also see the next item)
Some languages have a long list of country codes. E.g. Spanish has some 18 countries listed (and the list probably still is not complete)
Proposal:
Do the current 5-character match (language+country)
If there is no 5-character match, try with a two-character match (language)
If there is no two-character match either, fall back to the default language
This would result in a more appropriate language being chosen.
Problems:
de_CH
, but onlyde_DE
is listed among the supported languages. So it falls back to using the English version instead of the closerde_DE
. (Yes,de_CH
could be added to the list of supported languages, but also see the next item)Proposal:
This would result in a more appropriate language being chosen.