Skip to main content
jvdc
Expert ⭐️
Apr 7, 2025 5:56 PM UTC
Solved

How to remove the flags showing up in the language/translation button?

Hey we would like to hide those flags that are essentially referring to countries in the language button.

Has anyone been able to remove/hide them, in a clean way 😄?

olimarrio
olimarrioAnswer
Gainsight Employee ⭐️
Feb 4, 2026 4:08 PM UTC

Hey ​@jvdc 👋,

Correct, this isn’t a bug 😅 - we are moving away from flag icons because:

  • Flags represent countries, not languages
  • Many languages span multiple regions
  • They introduce geopolitical and accessibility concerns at scale

For now, this change has only been made to those with Control access, so don’t remove the custom CSS you have in place yet. We’ll announce when this change is being rolled out to all community members beforehand.

8 replies

FMEEvangelist
Helper ⭐️⭐️
Apr 7, 2025 7:58 PM UTC

I think using CSS it would be something like this:

.language-selector img[alt="en"] {
display: none;
}

We did something similar to change the flag from US to Canada, so I’m 99% sure this is the part you need to turn off. 

Translate
Ask me about all things spatial!
Michał Świączkowski
Gainsight Employee ⭐️
Gainsight Employee ⭐️
Apr 7, 2025 9:19 PM UTC

​@jvdc Just curious – what’s the reason behind wanting to hide the country flags in the language button? Is it more about the look & feel, or something else you’re aiming for? 😊

Translate
jvdc
jvdcAuthor
Expert ⭐️
Apr 8, 2025 5:13 AM UTC

Hey ​@Michał Świączkowski , thanks for asking. It is mainly because the country flags are then putting the focus a language on a specific country, which is irrelevant for many people of other countries. We have many users from countries in Africa where the spoken language is French, but having to select a French country flag for them can be awkward.

See what a I mean?

Translate
jvdc
jvdcAuthor
Expert ⭐️
Apr 30, 2025 7:41 AM UTC

Hey,

In order to also hide the flags in the dropdow, I  add to add a couple more lines, and then some lines to center everything.

/* Flags in language selector */
.language-selector img, .control-dropdown__item--with_image .dropdown-image {
display: none;
}
.main-navigation--language-switcher .language-selector {
width: auto;
padding: 0 10px;
}
.language-selector .selected .truncated {
margin-left: 0px;
}

 

Translate
Kenneth R
Expert ⭐️⭐️
May 1, 2025 6:55 AM UTC

Great that you found a solution ​@jvdc ! 

Translate
jvdc
jvdcAuthor
Expert ⭐️
Feb 4, 2026 2:46 PM UTC

Hey I see this has been done, correct?? (hopefully not a bug 😄)

 

Translate
olimarrio
Gainsight Employee ⭐️
olimarrioAnswer
Gainsight Employee ⭐️
Feb 4, 2026 4:08 PM UTC

Hey ​@jvdc 👋,

Correct, this isn’t a bug 😅 - we are moving away from flag icons because:

  • Flags represent countries, not languages
  • Many languages span multiple regions
  • They introduce geopolitical and accessibility concerns at scale

For now, this change has only been made to those with Control access, so don’t remove the custom CSS you have in place yet. We’ll announce when this change is being rolled out to all community members beforehand.

Translate
jvdc
jvdcAuthor
Expert ⭐️
Feb 4, 2026 4:12 PM UTC

​@olimarrio ah thanks for the tip, I had already removed the CSS 😅

Translate