mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 09:25:50 +03:00
[GH-ISSUE #16] Additional Language Codes (ISO-639-1) #10
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leipert on GitHub (May 11, 2014).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/16
Flags are often used as symbol for languages. What do you think about implementing ISO-639-1 for language flags?
For example:
flag-icon-lang-dewould be the same asflag-icon-de, butflag-icon-lang-enwould be the same asflag-icon-gb@lipis commented on GitHub (May 15, 2014):
I'm getting lots of requests about that issue and the problem is that there is no official list of all the languages with their corresponding flag.. because simply flags are belonging to the countries..!
Why using the british flag for the english instead of the US... I'm pretty sure the americans would totally prefer that.. and we didn't ask the australians.. :) same for spanish and many others..
So officially I don't think that we could cover all the languages without upsetting someone.. but it's quite easy to make some updates to the .less file to match your needs and add whatever flag you want to your language. I myself also needed that for another project, so you can check the example on how it works: https://github.com/gae-init/gae-init-babel/blob/master/main/static/src/style/locale.less
and then using
.flag-icon-enwith thegbflag :)@rvanlaak commented on GitHub (May 22, 2014):
So what do you recommend when
enis needed? The locale in my application everywhere iseninstead ofgborus.@lipis commented on GitHub (May 22, 2014):
@Rvanlaak If you do the above override then you will be able to use the
.flag-icon-eninstead of the.flag-icon-gbwhich is also what I'm using in my other app when I useenfor the locale and I want to use a flag for it..@mdxs commented on GitHub (Jun 12, 2014):
Representing languages with national flags is problematic; as explained in http://flagsarenotlanguages.com/blog/why-flags-do-not-represent-language/
That doesn't mean flags cannot be used (if your audience understands them), but probably only as a supplementary visual cue; for that the method described by @lipis can be followed.
My vote: -1 for this feature request.
@lipis commented on GitHub (Jun 12, 2014):
I think with that nice link we can close this issue for one more time :)
Flags are for countries.. how people are going to use them is another thing and the method I described above is very very simple..!