Closed bastien70 closed 3 years ago
Hi @bastien70, thanks for pointing these out. I've started working on adding them. Not all of these countries and dependent territories have their own official flags, but most have unofficial ones.
The following seem to always use the same flags as their administrative countries, so it might make sense to create symlinks for these:
bv
Bouvet Island → no
Norwayhm
Heard Island and McDonald Islands → au
Australiasj
Svalbard and Jan Mayen → no
Norwayum
United States Minor Outlying Islands → us
United States of AmericaFor bq
and sh
, I think it would be best to split them up into their ISO_3166-2 subdivisions, because each island/municipality has its own flag:
bq
Bonaire, Sint Eustatius and Saba
bq-sa
Sababq-se
Sint Eustatiusbq-bo
Bonairesh
Saint Helena, Ascension and Tristan da Cunha
sh-ac
Ascension Islandsh-hl
Saint Helenash-ta
Tristan da CunhaI can see that @waldyrious has already set the template in the flags gallery like this for sh
.
The problem is that if you do not respect the real 2 character code, it will cause problem for association with the Country field of the Symfony framework.
Or, it will require customization work on this field so that it adapts to your codes for the "countries" concerned.
Afterwards, these are most certainly countries that we will never use, but that can have an impact only from an aesthetic point of view.
The choice is therefore difficult
I see, well to work around that, perhaps it would be best to also create the following symlinks:
bq
→ bq-bo
sh
→ sh-hl
Following the conventions of emoji:
This means that if we call the following link: https://hatscripts.github.io/circle-flags/flags/sh.svg
it will render the sh-hl
flag ?
Yes, that is correct. :)
Yes, that is correct. :)
So that's a very good idea! I look forward :p
@HatScripts Great news! Thanks for adding
Maybe: AC BQ CP DG EA GP GS IC MF NC PM RE SH TA TF WF YT
Very helpful would be: (referenced in Unicode CLDR):
SH - Saint Helena AC - Ascension Island TA - Tristan da Cunha GS - South Georgia & South Sandwich Islands
Maybe rename: ES-CN -> ES-IC https://www.iso.org/obp/ui/#iso:code:3166:IC
Maybe rename: ES-CN -> ES-IC https://www.iso.org/obp/ui/#iso:code:3166:IC
I was basing the naming convention for ES-CN on Wikipedia: https://en.wikipedia.org/wiki/ISO_3166-2:ES#Autonomous_communities;_autonomous_cities_in_Spain, which in turn references https://www.iso.org/obp/ui/#iso:code:3166:ES
All the flags @bastien70 mentioned have now been added:
bv
Bouvet Island → no
Norwayhm
Heard Island and McDonald Islands → au
Australiasj
Svalbard and Jan Mayen → no
Norwayum
United States Minor Outlying Islands → us
United States of Americabq
Bonaire, Sint Eustatius and Saba
bq-sa
Sababq-se
Sint Eustatiusbq-bo
Bonairesh
Saint Helena, Ascension and Tristan da Cunha
sh-ac
Ascension Islandsh-hl
Saint Helenash-ta
Tristan da Cunhaaq
Antarcticagp
Guadeloupegs
South Georgia and the South Sandwich Islandsmf
Saint-Martinnc
New Caledoniapm
Saint Pierre and Miquelonre
Réuniontf
French Southern Territorieswf
Wallis and Futunayt
Mayotte@HatScripts Thanks for the effort.
Hey! I use this library with the CountryType field of Symfony.
Unfortunately, it seems that some flags are missing. Here is the list :
sh : Saint Helena mf : Saint-Martin pm : Saint Pierre and Miquelon wf : Wallis and futuna tf : Southern French lands sj: Svalbard and Jan Mayen bq : Caribbean Netherlands nc : New Caledonia yt : Mayotte re : La Réunion um : United States Minor Outlying Islands hm : Heard and MacDonald Islands bv : Bouvet Island gp : Guadeloupe gs : South Georgia and the South Sandwich Islands aq : Antarctic