I am trying to add the language switcher widget in my page. On desktop through page builder I add a language switcher widget which shows just fine, however I cannot use the same language switcher widget for tablet/phone view. I am trying a different solution by adding the HTML embedded code to customized for tablet/phone view, however it doesn't display the way I want to. (added photos)
1st is the 'language switcher' widget in the page builder.
2nd is tablet, but the same thing happens in phone view as well.
Is there any documentation that you are following?
Just trying to place the embedded HTML wherever I want, from the
With the shortcode you can add only one instance of the custom language switcher. If you need to add another one, I suggest that you use the menu language switcher which is another instance.
alright I'll use the custom language switcher on desktop and on tablet/mobile I would like to use the shortcode, however the shortcode doesn't seem to work the way I customized it, I wanted to only show flag, but the name of the language appears as well and the .svg doesn't show at all.
It seems that you misunderstood me. The custom language switcher which you can find in WPML > Languages > Custom Language Switcher is what shortcode loads.
All the customization you do there will reflect in [wpml_language_selector_widget] shortcode.
What I suggested was to use the menu language switcher as the desktop one which will add the language switcher to your website menu, and the customization of that can be done from WPML > Languages > menu Language Switcher.
And you can use the custom language switcher with the shortcode on the mobile.
Hope I was clear.
Thanks.
The topic ‘[Closed] language select option not displayed properly’ is closed to new replies.