Code Monkey home page Code Monkey logo

Comments (4)

hugolabe avatar hugolabe commented on August 17, 2024

I've been playing around with the idea of adding flags, using this set: https://github.com/HatScripts/circle-flags.

wike-flags

I think it's a good option to help find a language at a glance, although it does present some difficulties.

There are no flags for all Wikipedia languages. One option would be to put only the most important languages and use a generic icon for the rest. They could be added later.

The flags do not have a direct correspondence with the languages, but with countries or regions and in many cases there are many countries that use the same language.

In some cases the choice seems obvious: UK for English or Spain for Spanish, since they are the original territories of that language. In others it is not so clear: which flag to choose for the Arab?

There are also countries that have several languages: traditional Chinese, simplified Chinese... Should we use the same flag?

from wike.

vanillajonathan avatar vanillajonathan commented on August 17, 2024

There are also flag icons available in Unicode so you can use the font. But it may not be available on all fonts depending on what font is in use. Maybe it is possible to specify a font just for the flag but not for the text that overrides the system font to ensure a font that supports Unicode flag emojis are in use.

You do raise some interesting points, and the idea of using a generic flag for the rest sounds reasonable there are enough languages that has a suitable country icon for it to be a usability benefit that covers most languages for most people. If there are just a few languages without a suitable font then that might not be a big issue.

I do not like the circle icons, I would much prefer rectangular icons that are more reminiscent of actual flags.

In the Duolingo app they have country icons for their language course selection.
https://happilyevertravels.com/wp-content/uploads/2020/10/IMG_0603-576x1024.png.webp

from wike.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.