E107: Welsh Language Code is associated incorrectly with Cyprus Flag

Created on 29 Oct 2016  路  10Comments  路  Source: e107inc/e107

Hi All

So I have found a small issue, when the language selection menu is set to use flags, the incorrect flag in the drop-down choice shows the Cyprus flag, not the Welsh flag. No idea if this is an e107 issue or Bootstrap.

image

Cyprus country code is CY but Welsh Language code is CY.

So I started reading up on what is correct - an interesting topic.

image

English Wiki Pages use EN https://en.wikipedia.org/wiki/Welsh_language
Welsh Wiki Pages use CY https://cy.wikipedia.org/wiki/Cymraeg
Cyprus itself has CY as the country code, hence the clash https://en.wikipedia.org/wiki/Cyprus

What's even more confusing is Wales is a Country within the UK which is actually GB and NI.
http://www.i18nguy.com/unicode/language-identifiers.html Code for Welsh is hence cy-GB (Welsh). Equally Argentina has a region Patagonia which also uses Welsh hence cy-AR (Welsh).

The iconic UK Union Flag, colloquially called the Union Jack is incorrect for English too, as this flag represents the constituent countries of the UK. The English flag is actually a white background with a red cross of St George.

There are lots of points in this article http://www.flagsarenotlanguages.com/blog/ It explains why flags are generally a bad choice for Language selection on websites

As a result, personally, I'm going turn flags off :) ... and we have that choice in prefs anyway.

Interesting problem to read about. There have been lots of high profile gaffs to do with misuse of flags for language choices. I'm convinced they are inappropriate, possibly the only exception might be in an online shop, to choose the store in your country.

It may be more flexible to allow the flags to be configurable so the site owner can choose as appropriate to there site?

Thanks
Mike

Most helpful comment

Optionally, for different countries with similar languages you can use something like this or similar:
english-language-flag-1-icon 1

It's not pretty, i know....

All 10 comments

@MikeyGMT How did you get these flags in navbar? I didn't know that it's possible in core. Thanks

Multilan plugin @Jimmi08 prefs > navigation > Display flags in dropdown menu

So this should actually be in the Multilan git space - my bad.

Optionally, for different countries with similar languages you can use something like this or similar:
english-language-flag-1-icon 1

It's not pretty, i know....

I'm happy with not using flags. It's fine for flags when a site has a store in Portugal or Brasil. It's never going to work to represent a language. I'm totally in agreement with the blogs posted above. Nationalism is a bit naff, especially after br-exit :( [verysadface]

@MikeyGMT Thank you for point me to that plugin. Very nice solution for langs in navbar. I use different plugin (very old) so I can get inspired. I don't agree about not using flags but true is that I am used only to English, German and some other well know languages. But that old plugin use for flags the language name, not the code (Slovak instead SK) so I suppose this will not be issue.

Hence why I think making the flag configurable would be an improvement. So Admins can choose which flag is appropriate for their site.

@MikeyGMT you're referring to the multilan plugin? If so, please post the issue here: https://github.com/e107inc/multilan/issues

Done - closing here

Thank you! :+1:

Was this page helpful?
0 / 5 - 0 ratings