sww Posted July 10 Posted July 10 (edited) Hey, back then when I changed the language part within the URL the page slug changed automatically in all directions. Now it only changes from the primary language (in my case DE) to the secondary language (EN). So: /de/projekte > click on the lang switch > /de gets replaced with /en > /projekte changes automatically to /projects => result: /en/projects … great. Changing back to /en does not work though: /en/projects > click on the lang switch > /en gets replaced with /de > /projects does NOT change to /projekte => result: url is not valid > page stays on /de/projects … not great. So the auto page name translate only works from DE to EN not the other way around. As said it used to work flawlessly prior PW update. Edited 20 hours ago by sww
sww Posted 20 hours ago Author Posted 20 hours ago @ryan Hi Ryan, is there no solution for this? This seems to be a serious bug. I can't be the only one experiencing this … Cheers, Stefan
monollonom Posted 16 hours ago Posted 16 hours ago How are you switching languages? Using javascript? I tried on a test setup and I can indeed reproduce your issue by changing the URL in the browser the way you described but maybe you should instead rely on something like $page->localUrl to create your language switcher? You can also raise your issue on Github, ideally by mentioning from which PW version you updated.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now