PolyLang plugin not displaying Language switcher in Appearance->Menu

5.8k views Asked by At

I've been trying to implement multilanguage support for my new website and I want to be able to have a language switcher next to my menu, like every other normal website. I have the following plugins: Ocean Extra, Elementor, Polylang and WPForms Lite.

I don't know If I screwed it up somehow or what happened, but when I go to

Appearance -> Menu -> Screen Options

nothing happens. It's just a blank white space that expands by 10 pixels when I click on it and I cannot change anything. Here's an image of what happens when I click on Screen Options: enter image description here

When I click on "Help" that is next to "Screen Options", it expands normally. So my question is how can I add this to my OceanWP theme? I have already translated all of my stuff, so I just need to place the language switcher, and it being on the footer is a sore pain for my eyes. Does everyone else have this option for free? Or what is going on? Should I try reinstalling my whole site?

3

There are 3 answers

0
Subnom On BEST ANSWER

Reinstalled WordPress and then tried again, it worked. Although it didn't appear in the "Screen Options" menu, It appeared above "Pages" in the Appearance -> Menu

0
Mantas Dainys On
3
Mason On

You can add the language switcher by updating your theme files, just add the following to the header or menu where you want the language switcher to appear:

<ul><?php pll_the_languages();?></ul>

You can also add the language switcher by widget.

To customize the language switcher, you can read this documentation.