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
Hi there @Augusto_Deggeller
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
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
Hey there, @user15905
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