Add all emoji flags

AI-generated summary

The discussion revolves around adding all country flags to the emoji set in Discourse. keunes initially requested the inclusion of the Dutch flag, and codinghorror responded that this is a function of the Emoji set itself and can be customized by admins.

steko suggested enabling a 1:1 mapping between the available emoji sets and Discourse, considering EmojiOne has flags for all countries. However, eviltrout explained that the emoji must be present in every set, as Discourse doesn’t support having an emoji present in one set but not others.

eviltrout asked for an example of an image that exists in all four sets (Apple, Emoji One, Twitter, and Google Noto Emoji) but not in Discourse, to consider adding it. sunjam shared efforts to set up a theme component for holding flag icons but is unclear on the process.

Over at the Fairphone forum, there’s some Dutchies that use :nl:, but it doesn’t display as a flag. Would be nice if the Dutch flag could be included in the emoji set.

Maybe it’s even an idea to create a new tab with only flags (rather than putting them under the travel tab).

1개의 좋아요

This is a function of the Emoji set itself and should be discussed with them, not us… That said you can add custom Emoji already.

1개의 좋아요

Which is/I can find where? (sorry, I’m just a lazy end-user in this case, going one step upstream from where the issue was experienced - i.e. on the Fairphone forum)

Is that something the admins of the respective forum can do? In that case I’ll open an issue in their meta channel.

Admin, Customize, Emoji

Make sure it’s not already in the full set, for example at http://emojione.com/

1개의 좋아요

Since EmojiOne has flags for all countries in the world and even more (Antarctica!), it would be easier to enable a 1:1 mapping between the emoji set(s) and what is available in Discourse. Where do I need to start looking apart from /lib/emoji/db.json if I want to try crafting a pull request?

Let’s see if @eviltrout knows.

1개의 좋아요

The problem is we need the emoji to be present in every set right now, as we don’t support having an emoji present in emoji one but not, say, twitter.

You can look at our emoji extractor codebase to see how the various sets are extracted.

3개의 좋아요

That makes sense, of course.

It seems Apple, Emoji One and Twitter all have many/all flags and after some digging also Google Noto Emoji apparently is equipped with 200+ region flags: noto-emoji/third_party/region-flags at main · googlefonts/noto-emoji · GitHub even though it’s beyond me how that git repo is structured, let alone how the final images are generated.

There should be a README in the subdirectory of each one. However if you can show me an example of an image that exists in all the 4 sets but does not exist in Discourse, I’d like to look into that.

2개의 좋아요

Dead

이것을 어떻게 설정해야 하는지 알아보고 있는데 명확하지 않습니다. 깃발을 보관하기 위해 SVG assets라고 부르는 테마 컴포넌트를 만들었습니다. 또한 Tag Icons - #138 by sunjam 에서 이 문제에 대해 작성해 두었습니다.

@keunes 님, 그 멋진 깃발 아이콘을 어디서 다운로드하셨는지 궁금합니다. :heart: