Need Help: Issue with U.S. Flag Display and Site Translation

Hi, I’m experiencing an issue where the United States flag is always displayed on the site. The flag isn’t part of my configuration settings (attached). And when I select that flag, the site doesn’t translate, could you please help resolve this? my site is ayc.com.py

1 Like

Hi there @Augusto_Deggeller :wave:

The American English option with its flag appears because of the en-us attribute of the html lang tag (1st line in the screenshot)


The best solution is to change it to en-gb, but you can also hide the flag using this code in the Custom CSS field on the Settings tab of your widget’s settings:

[class*='dropdown-item__Wrapper-sc']:first-child {
  display: none;
}

Check it out and let me know if it helped :slightly_smiling_face:

Hi there - I have the same problem. I would like to use the flags but have the default for English be the UK flag. You mentioned changing the html tag from us to gb - where would you need to do this? Can you add something to the Custom CSS field? Or is the html from the actual web page the widget is being embedded on? Thanks in advance for any ideas.
Marion

1 Like

Hey there, @user15905 :wave:

Yes, you need to adjust the html tag of the page where the widget is installed. Right now you have just EN, that’s why the American flag is displayed there by default:


To fix the issue, you should add GB attribute to the language of your page. Please check it and let me know if it helped :slightly_smiling_face: