Plugin Author
Chouby
(@chouby)
I believe that you have an input field named “order” with the description “Position of the language in the language switcher” when you create (or edit) a language.
You’re right. And in the backend view this field is used for ordering the languages, as it seems (http://cl.ly/image/0t2B1l2y150r). But using the language switcher item in a menu, the frontend view is sorted in another way (http://cl.ly/image/1P0m2V303Y3X).
Thanks for your help so far.
Plugin Author
Chouby
(@chouby)
That’s strange. How did you create your language switcher?
With the Language Switcher menu item (http://cl.ly/image/0K190G1T3s2r).
Plugin Author
Chouby
(@chouby)
Is the admin language filter menu (in top menu bar on admin side) in the right order? What’s your version of MySQL?
No, that menu is not ordered correctly, too. -> http://cl.ly/image/1X1k3c200B47
We’re using MySQL 5.5.28.
Plugin Author
Chouby
(@chouby)
Old versions of MySQL had some issue with sorting but I am testing with 5.5.27 so that’s probably not the right direction.
Could you try to de-activate all your plugins and switch to a default theme, and then go to polylang settings and just click on “save changes”?
Hey Chouby
thanks for pointing in that direction. It’s in fact the plugin https://wordpress.org/plugins/taxonomy-terms-order/ that causes the wrong sorting of language items in the nav. There is a Auto Sort option, when switching that off, the lang nav looks fine.
Thanks for your help.