mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 09:25:50 +03:00
[GH-ISSUE #544] NC - New Caledonia has two flags #321
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#321
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 @brunodeprez on GitHub (Apr 15, 2019).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/544
Hi,
New Caledonia (country code NC) has 2 flags, the French one and the Kanak one.
[(https://en.wikipedia.org/wiki/New_Caledonia#/media/File:Flag_of_FLNKS.svg)]
The French one being available already with code FR, could you change NC for the Kanak one, or make a double flag image?
Thanks
@Danny-Engelman commented on GitHub (Sep 22, 2019):
source: wikipedia
Here is what other repos show for iso: NC
https://flagmeister.github.io/documentation.html?flag=nc
@brunodeprez commented on GitHub (Sep 26, 2019):
The two firsts are the right ones
@kent1D commented on GitHub (Sep 27, 2019):
Based on what exactly?
@Danny-Engelman commented on GitHub (Sep 27, 2019):
New Caledonia was classified as an overseas territory beginning in 1946, but as a result of the 1998 Nouméa Accord, it gained a special status (statut particulier or statut original) in 1999. A New Caledonian citizenship was established (in addition to the French citizenship which is kept in parallel, along with the consequent European citizenship), and a gradual transfer of power from the French state to New Caledonia itself was begun, to last from 15 to 20 years.
In July 2010, New Caledonia adopted the Kanak flag, alongside the existing French tricolor, as dual official flags of the territory.[41] The adoption made New Caledonia one of the few countries or territories in the world with two official national flags.[41] The decision to use two flags has been a constant battleground between the two sides and led the coalition government to collapse in February 2011.
@brunodeprez commented on GitHub (Sep 29, 2019):
Any official New-Caledonia application should display both flags. My point is that the French flag is already available in this library, the kanak flag is not.
I need to have a drop down list of countries and I need to put both flags for NC, so there are two options:
if(country === 'NC') { displayFlag('FR'); displayFlag('NC') } else { displayFlag(country); }@Danny-Engelman commented on GitHub (Sep 30, 2019):
With the FlagMeister Custom Element (modern browsers) you can do:
FlagMeister ISO:nc is the French flag
This forces the second IMG to load the SVG from the default Repo (RestCountries API)
when the size is 1 pixel or larger wide
RestCountries uses the Kanak flag
Or set the source Repo to Lipis (which now has the Kanak flag in nc.svg)