DEV Community

Cezary Tomczyk
Cezary Tomczyk

Posted on

1

Don't use flags to indicate languages!

A list of languages where each language have a country flag

"Flags represent countries, not languages.

Numerous countries use the same language as another country, and numerous countries have more than one official language. Flags don't map well onto these permutations.

In addition, flags have nationalistic connotations that may be unwelcome for people of other countries, even though they speak the same language.

While flags can be very appropriate for sites that are distinguished on the basis of region (eg. the amazon,co,uk site vs. the amazon,ca site), you should normally avoid them when dealing with links to pages that are just translations."

Source: W3C

Alternative, better example:

A list of language in their native written name and english name

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay