[GH-ISSUE #537] Add flags for AC and TA #317

Closed
opened 2026-03-03 14:37:29 +03:00 by kerem · 8 comments
Owner

Originally created by @catamphetamine on GitHub (Mar 10, 2019).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/537

The flags for AC and TA are currently missing from this library.

Quote from WikiPedia:

Ascension Island and Tristan da Cunha, previously dependencies of Saint Helena but raised to equal status in 2009, are exceptionally reserved the ISO 3166-1 alpha-2 codes AC and TA respectively on the request of the Universal Postal Union.

https://en.wikipedia.org/wiki/ISO_3166-2:SH

  • AC — Ascension Island.

https://en.wikipedia.org/wiki/Ascension_Island

Flag in SVG format (78kB after SVGO: too much detail, too large in size, would have to be reduced to simple shapes): https://upload.wikimedia.org/wikipedia/commons/6/65/Flag_of_Ascension_Island.svg

  • TA — Tristan da Cunha.

https://en.wikipedia.org/wiki/Tristan_da_Cunha

Flag in SVG format (14kB after SVGO): https://upload.wikimedia.org/wikipedia/commons/8/89/Flag_of_Tristan_da_Cunha.svg

Originally created by @catamphetamine on GitHub (Mar 10, 2019). Original GitHub issue: https://github.com/lipis/flag-icons/issues/537 The flags for `AC` and `TA` are currently missing from this library. Quote from WikiPedia: > Ascension Island and Tristan da Cunha, previously dependencies of Saint Helena but raised to equal status in 2009, are exceptionally reserved the ISO 3166-1 alpha-2 codes AC and TA respectively on the request of the Universal Postal Union. https://en.wikipedia.org/wiki/ISO_3166-2:SH * `AC` — Ascension Island. https://en.wikipedia.org/wiki/Ascension_Island Flag in SVG format (`78kB` after SVGO: too much detail, too large in size, would have to be reduced to simple shapes): https://upload.wikimedia.org/wikipedia/commons/6/65/Flag_of_Ascension_Island.svg * `TA` — Tristan da Cunha. https://en.wikipedia.org/wiki/Tristan_da_Cunha Flag in SVG format (`14kB` after SVGO): https://upload.wikimedia.org/wikipedia/commons/8/89/Flag_of_Tristan_da_Cunha.svg
kerem 2026-03-03 14:37:29 +03:00
Author
Owner

@catamphetamine commented on GitHub (Mar 15, 2019):

@lipis Do you want a pull request?

<!-- gh-comment-id:473270705 --> @catamphetamine commented on GitHub (Mar 15, 2019): @lipis Do you want a pull request?
Author
Owner

@bessone commented on GitHub (Oct 31, 2019):

Hey @lipis, Is there a reason why you did not accept the PR?

<!-- gh-comment-id:548340047 --> @bessone commented on GitHub (Oct 31, 2019): Hey @lipis, Is there a reason why you did not accept the PR?
Author
Owner

@lipis commented on GitHub (Oct 31, 2019):

Because they are not countries.. yes we have a few, but that's because they represented in Football for example.. and we needed them in projects.

<!-- gh-comment-id:548344247 --> @lipis commented on GitHub (Oct 31, 2019): Because they are not countries.. yes we have a few, but that's because they represented in Football for example.. and we needed them in projects.
Author
Owner

@catamphetamine commented on GitHub (Oct 31, 2019):

@lipis You also have Kosovo (XK) flag and Kosovo is also not a country.
Your inclusion/exclusion criteria are inconsistent.

<!-- gh-comment-id:548381675 --> @catamphetamine commented on GitHub (Oct 31, 2019): @lipis You also have Kosovo (XK) flag and Kosovo is also not a country. Your inclusion/exclusion criteria are inconsistent.
Author
Owner

@bessone commented on GitHub (Oct 31, 2019):

I think respect all the ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) with the extension could be a good idea, in this way if a code that respect ISO return a country code we have a flag for it!

<!-- gh-comment-id:548383329 --> @bessone commented on GitHub (Oct 31, 2019): I think respect all the ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) with the extension could be a good idea, in this way if a code that respect ISO return a country code we have a flag for it!
Author
Owner

@catamphetamine commented on GitHub (Oct 31, 2019):

@bessone Well, there's no real reason not to include any valid ISO code flags in this repo, even when they're for country subdivisions, not countries themselves (like in this case).
Even Kosovo (XK) got included and XK code is not even officially assigned to anything in the ISO standard, while AC and TA, for example, are officially assigned by the ISO organization.

<!-- gh-comment-id:548384663 --> @catamphetamine commented on GitHub (Oct 31, 2019): @bessone Well, there's no real reason not to include any valid ISO code flags in this repo, even when they're for country subdivisions, not countries themselves (like in this case). Even Kosovo (XK) got included and XK code is not even officially assigned to anything in the ISO standard, while AC and TA, for example, are officially assigned by the ISO organization.
Author
Owner

@paulmorar commented on GitHub (Jun 15, 2020):

I am also of the same opinion as @bessone and @catamphetamine.
There is no good reason to not add this to the library. You need to think about it being able to work together with other libraries.
The way I see it, merging this PR:

  1. Improves user experience
  2. Adds ease of integration with other libraries

Downsides:

  1. It might need a revisit in the future.

But thinking about open source, the pros far outweigh the cons.

<!-- gh-comment-id:643980612 --> @paulmorar commented on GitHub (Jun 15, 2020): I am also of the same opinion as @bessone and @catamphetamine. There is no good reason to not add this to the library. You need to think about it being able to work together with other libraries. The way I see it, merging this PR: 1. Improves user experience 2. Adds ease of integration with other libraries Downsides: 1. It might need a revisit in the future. But thinking about open source, the pros far outweigh the cons.
Author
Owner

@NotTsunami commented on GitHub (Oct 14, 2020):

I just saw this issue, I opened a new PR that includes these and a few more flags. Even if they are not defined by ISO 3166-1 explicitly, they are included in the Unicode/Emoji 1.0 spec and I believe that is enough to warrant the addition of these. My PR uses existing flags for flags that are inherited. I have also added them to the "more flags" category so they are not included with the base, which I think is a reasonable compromise.

<!-- gh-comment-id:708652724 --> @NotTsunami commented on GitHub (Oct 14, 2020): I just saw this issue, I opened a new PR that includes these and a few more flags. Even if they are not defined by ISO 3166-1 explicitly, they are included in the **Unicode/Emoji 1.0** spec and I believe that is enough to warrant the addition of these. My PR uses existing flags for flags that are inherited. I have also added them to the "more flags" category so they are not included with the base, which I think is a reasonable compromise.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#317
No description provided.