# National Flags (fork)

**URL:** https://meta.discourse.org/t/national-flags-fork/384423
**Category:** Plugin
**Created:** [October 1, 2025, 1:17am UTC](https://meta.discourse.org/t/national-flags-fork/384423 "2025-10-01T01:17:18Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [October 1, 2025, 1:17am UTC](https://meta.discourse.org/t/national-flags-fork/384423/1 "2025-10-01T01:17:18Z")

</div>

ℹ This is a fork of [National Flags](https://meta.discourse.org/t/national-flags/55969) (which no longer seems to be maintained) and is mainly an updated version to make it work with the latest glimmer/ember/discourse demands.

It’s therefor almost functionally identical, with only some small changes (see below).

I don’t want to hijack the original topic, in case the author comes back 🙂

* * *

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Shows a country flag next to the username on posts and on the profile. |
| 🛠 | **Repository Link** | [GitHub - chapoi/discourse-nationalflags: National Flags plugin for Discourse · GitHub](https://github.com/chapoi/discourse-nationalflags) |
| 📖 | **Install Guide** | [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) |

  

### Features

After installing and enabling in `admin/plugins`, users can find a new custom setting called ‘National Flag’ on their /preferences/profile` page.

 ![example-2](https://global.discourse-cdn.com/meta/original/4X/3/9/f/39fbb2c79dde2f26b031dcb97039e213f265ba16.png)

After selecting a country from the dropdown, the flag image will be displayed alongside their name in topics and on their user profile.

 ![CleanShot 2025-09-30 at 14.01.04@2x](https://global.discourse-cdn.com/meta/original/4X/a/f/1/af1f9c8cfa37c5413bfc867553740e1e64c34d5a.png)

### Configuration

Just needs enabling.

To migrate from the original plugin, change `Ebsy` to `chapoi` in the line in your `containers/app.yml` that installs this plugin, and rebuild your site.

Settings are retained. (thanks to @mcdanlj for testing)

### UX differences with original plugin

- Flag renders a bit smaller on posts: it’s now set to the font-size, instead of fixed value
- The setting dropdown shows full country names, instead of ISO codes
- The Wizard setup is no longer present. (I’m not sure if it ever worked, but I think it’s best to keep this type of detai setup in a later phase instead of onboarding)

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [October 1, 2025, 3:15am UTC](https://meta.discourse.org/t/national-flags-fork/384423/2 "2025-10-01T03:15:01Z")

</div>

Thank you again for doing this! I was sad to think of losing this plug-in, and really appreciate the ability for my community to help each other know some reasonable expectations from the flags.

Might want to PR what you have now to Ebsy from a branch in case he comes back, but now that you have posted this separately on your branch, change your README to reference your repository in the install instructions?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [October 1, 2025, 3:16am UTC](https://meta.discourse.org/t/national-flags-fork/384423/3 "2025-10-01T03:16:21Z")

</div>

> [@mcdanlj](#):
>
> change your README to reference your repository in the install instructions?

Oh good point will do.

And youre welcome! 🤗

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [December 4, 2025, 5:06am UTC](https://meta.discourse.org/t/national-flags-fork/384423/4 "2025-12-04T05:06:36Z")

</div>

Thank you for the update. I was just going to post a bug in the old plugin .. 😍

Though an interesting idea would be to expand the plugin to allow adding a different flag type set

Ie a a province(Canada) or a State(US) might want to use something like this for county/municipal flag/symbol.

Similarity maybe State or Province flags. Maybe an idea to upload different flag sets with alternative Feild text to use instead of the Country flags

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [January 4, 2026, 4:18pm UTC](https://meta.discourse.org/t/national-flags-fork/384423/5 "2026-01-04T16:18:45Z")

</div>

5 posts were merged into an existing topic: [Locations Plugin 🌍](https://meta.discourse.org/t/locations-plugin/69742/1195)

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [August 14, 2026, 9:42pm UTC](https://meta.discourse.org/t/national-flags-fork/384423/6 "2026-08-14T21:42:37Z")

</div>

Thanks for maintaining this, it’s a cool feature to have 🙂

I wonder if this is an expected behavior or the display of the flag should be aligned with the user title?

 ![](https://global.discourse-cdn.com/meta/original/4X/f/0/4/f04a401ef621e34417c11c0098cca72441ca7d36.png)

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [August 17, 2026, 9:28am UTC](https://meta.discourse.org/t/national-flags-fork/384423/7 "2026-08-17T09:28:56Z")

</div>

Glad you like it.

Not sure what alignment you mean?

 ![CleanShot 2026-08-17 at 11.28.08](https://global.discourse-cdn.com/meta/original/4X/1/6/6/166994ece75b5ccfb78d9b3b22e14382895d264f.png)

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [August 17, 2026, 12:28pm UTC](https://meta.discourse.org/t/national-flags-fork/384423/8 "2026-08-17T12:28:07Z")

</div>

Oh, my bad. I think that displaying the national flag next to the user title or user name makes more sense than showing it ‘alone’ as a new isolated field.

I’m on Horizon, perhaps it is related to this theme or my particular instance. Please sorry if it is the last case 🙂
