Plugin Author
Chouby
(@chouby)
Could you provide a link?
http://dvlp.boxmanufaktur.ch/?page_id=125
You have to check upper right the languages. If you click on “EN” and then for example click on “Produkte” it switch back to German language. The last 2 menu items are links to another website. So this is not relevant. Just “Home” and “Produkte” and all the subitems.
PS: The page will be translated if the German website’s online
Plugin Author
Chouby
(@chouby)
I see 2 issues on your website:
First, page 125 is in German, page 141 is in English, but there are not translations of each other. Thus you can’t benefit of all features.
Second, you use menu-deutsch as menu for both German and English. You must use one menu per language. If your menu contains a link to a German page (here Produkte), even if you are browsing an English page, you will be directed to the German page. That’s why you need to create one menu per language with the correct pages links.
And for your information, Polylang generally does not rely on cookie information except some rare cases (for example to set the language on login page).
Hi Chouby
The translations will come if the German website is finished. So right now all pages are in German. But we use in WordPress backend 3 menus. 1 Menu “Deutsch”, 1 Menu “English” and 1 “Français”. But these menus in backend are just for the left menu. So the menus are just for “Alurahmen”, “Zubehör” etc. For the top menu we use source code.
I noticed another mistake. If you go to “EN” language, you can’t click “Home” menu item. Is there an error with polylang settings or is it the source code?
We solved the problem, it was a simple permalink error, which we had in our source code. So we use now Language Switcher and will design it like before. Thank you for your support.
But I got another question: I edited the pll_the_languages reference so now I got:
<?php pll_the_languages(array('display_names_as' => 'slug')); ?>
Now the names are written in lower case letters. How could I get them to uppercase letters?
Could you possibly give me a hint?
Thanks
Plugin Author
Chouby
(@chouby)
This css rul should do the trick
.lang-item {
text-transform: uppercase;
}
Ah nice! Thank you. I didn’t know that there is a css rule for this. Thank you very much for your help and your support! 🙂
Ah nice! Thank you. I didn’t know that there is a css rule for this. Thank you very much for your help and your support! 🙂