This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to automatically translate the URL slug when using WPML. Despite having automatic translations enabled, the URL field remains empty in the translation editor and defaults to the English slug, which does not meet the client's needs as they often differ from the page title. Solution: 1. To address the issue of untranslated URL slugs, we recommend following the steps in our guide on translating page slugs. You can find the guide here: Translating Page Slugs. 2. If you prefer the URL slug to auto-translate based on the page title, select the 'Auto-generate from title (default)' option in WPML -> Settings -> Translated documents options -> Page URL. 3. For manual translation of the slug, choose the 'Translate' option in the same settings area. This will allow the slug to appear in the Translation Editor for manual adjustment. 4. If these settings do not resolve the issue, we have also provided a screencast with additional steps that might help. View the screencast here: WPML Slug Translation Screencast.
Please note that the solution provided might be outdated or not applicable to your specific case. We highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to translate my new page, but I noticed that the URL slug is not translated. Instead, all languages use the English version. When I open one language in the translation editor, the URL box is just empty.
Symptoms:
The URL slug is not translated automatically, and the URL box is empty in the translation editor.
Questions:
Why is the URL slug not translated automatically?
Why is the URL box empty in the translation editor?
It is selected and it used to work nicely. But at the moment automatic translations are not translating URLs (neither through the Translation Editor nor via Translation Management)
1.- Could you share a URL (frontend) where the issue can be seen?
2.- I would like to take a closer look at the configuration. I have set your next message private so you can securely share the access credentials to the site.
Please confirm you created a full site backup before sharing the credentials that you can use to restore the site if necessary.
Yes, I can also see the field. The issue is that I have automatic translations enabled (meaning when I open a language with Translation Editor then everything is automatically translated immediately) but *URL field is not auto-translated* (everything else is). So the URL falls back to English URL slug which is especially problematic because most of the time I use Translation manager to bulk auto translate 10+ languages and I don't have time to check/fix every language.
Hmmm, yes this worked nicely but then it uses page title and not the English URL slug for auto-translation.
Isn't there a way to auto-translate the English URL slug instead of page title (as most of the time they are different for my pages)? If not, then I am a bit confused how it worked before 🤔
There is another option, closer to what you are looking for, but it takes a few more clicks for each translation. I have created this screencast describing the steps to follow: hidden link