Quote:
Originally Posted by DrChiper
…
I used to use en-UK and was surprised it didn't work as expected. Apparently choosing a none existing ISO language code defaults to "en".
…
|
Ukrainian uk, so en-UK doesn't work.
The valid list:
https://www.w3schools.com/tags/ref_language_codes.asp
The web TLD of uk is a historic mistake, should be gb. See GBP = Sterling, GB on car licence plates, etc.
It's The United Kingdom of Great Britain and Northern Ireland. It was purely Great Britain when England and Scotland were joined (Wales and Cornwall had been eaten earlier), then The United Kingdom of Great Britain and Ireland from 1801 to 1921 approximately. They seriously considered reverting to just Great Britain in 1922, but made a sop to N.I. Unionists. They considered again reverting to Great Britain after 2016, maybe to scare the Unionists.
Lesser Britain is of course Brittany in France.
The Isle of Man and the Channel Islands are not part of the UK, though under the Crown. Gibraltar is technically a colony that can never join the UK or get independance, the only other status possible is return to Spain (Treaty of Utrecht).
So en-GB, not en-UK as English isn't a major language in Ukraine.
Malta and Ireland use English (officially), but AFAIK, the en-gb would be best selection for them.
The "en" on its own may be interpreted as "en-US"
Here are the country codes:
https://www.w3schools.com/tags/ref_country_codes.asp
US of A = US
The United Kingdom of
Great Britain and Northern Ireland = GB
Ireland = IE, but as the variant of English written is almost the same as across the Irish Sea, "en-GB" for English, not "en-IE" and "ga" for Gaelic (Irish Language).
Similarly for Malta, "mt" is for Maltese and "en-GB" for the English, not "en-MT"
See also
https://www.ctrl.blog/entry/en-001.html "World English"
Major English variations are USA, British, Canada, South Africa, Australia and India. I've no idea how well some are supported.
British English is likely fine for Kenya. Note that India and Kenya have many native languages hence the success of English. So has South Africa and it also has Afrikaans which is derived from Dutch.
There are regional variations for French (spoken in Canada, Switzerland, Belgium and parts of Africa, maybe still in USA) and German (spoken in Alsace, Switzerland, Belgium and Austria).
Portuguese in Portugal and Brazil differs.
Spanish differs by country, and Spain has multiple native languages.
Don't EVER use National Flags if you are doing websites or menus for Language selection.