top | item 36813242

(no title)

jfernandezr | 2 years ago

Not talking about politics, here, but a flag usually denotes a country or region, not a language.

You should use a flag when you're referring to a country or region, for example when you have an e-commerce website and are just distributing in certain areas. But languages do not have flags associated and then should not be used in language selectors.

Check that the example in the GH thread has Spanish as one of their choices and has the Spanish flag. Spanish is talked in a lot of countries including Spain, but also Spain has 4 different official languages in its own state territory. So, there exists es_ES, es_MX, es_PE but also es_ES and ca_ES. What flag should we paint in each case?

I've seen this mistake soo many times...

discuss

order

greazy|2 years ago

So what should be used as the icon for languages?

I accidently changed languages in my phone to Arabic on android. It uses no icons to display languages, when a language is chosen all the options changed to the localized Arabic names.

I think the only logical solution is to display the options in the language, eh Arabic in Arabic letters, English in English letters etc.

But icons would still be useful. But there isn't a universally accepted icon for any language.

creatonez|2 years ago

A good solution: for each language option, include both the exonym (name of the language in the user's currently selected language) and the endonym (name of the language in that particular language). Make sure the search feature can fuzzy match either field.

And yes, do not include any icons whatsoever. Text only. A standard for visual depiction of languages is not going to come any time soon, and flags are completely unsuitable for the purpose.

112233|2 years ago

> So what should be used as the icon for languages?

For each language, show name of language in that language + name of language in currently selected language.

Languages are hard.

_nalply|2 years ago

I agree. As a Swiss speaking German I find to see the flag of Germany a bit jarring, especially Germans tend act as if the language belongs to Germany.

So just use the language code for languages?

rodface|2 years ago

> use the language code for languages

This is the practice that I followed when I needed to add a regional-language pack for one of our SCCM packages. I put a "DEU" in the icon, not a German flag.

stby|2 years ago

It's just a service for the Swiss to warn them about the occasional use of "ß".

poiuyt098|2 years ago

This is something I really hate in KDE- you choose date/time formats with a dropdown of flags, and it doesn't even give you a preview of the short format, so you have to cycle through hundreds of options and click-click-click each to find what you want, when all that's needed is [Language] + [yyyy-mm-dd HH:MM]* (or whatever) format string.

there are far fewer format options than countries, so this is an exercise in frustration

(*en_SE.UTF-8 btw)

Simulacra|2 years ago

Taiwan is a free and independent nation, regardless of what China or its hackers think.