This thread is resolved. Here is a description of the problem and solution.
Problem:
copy slugs
Solution:
https://wpml.org/forums/topic/how-to-edit-the-url-slug-of-the-translated-document-in-wpml-editor/#post-13549249
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.
Tagged: Documentation request
This topic contains 9 replies, has 3 voices.
Last updated by chongweiC 1 year, 10 months ago.
Assisted by: Bruno Kos.
Author | Posts |
---|---|
April 26, 2023 at 4:17 pm #13543393 | |
chongweiC |
Hi, In the WPML editor, I can edit the post contents. However, how to edit the URL, or more specifically, the slug of the translated Post? |
April 26, 2023 at 4:44 pm #13543573 | |
Laura Supporter
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Hi, thanks for contacting us. You'll need to check the settings in WPML > Settings > Translated document options. |
April 27, 2023 at 2:02 am #13545645 | |
chongweiC |
I read the document carefully. I have more question: 1. In "WPML > Settings > Translated documents options", the third option said "Copy from original language if the translation language use encoded URLs". So, how to know if the translation language use encoded URLs? For Chinese, it is known to use encoded, but for some other languages, such as German, it is difficult to know. |
April 27, 2023 at 7:44 am #13546959 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Hi, If you go to WPML → Languages and click on the Edit languages link you will find "Encode URLs" there. Regards, |
April 27, 2023 at 11:06 am #13549015 | |
chongweiC |
Thank you. I checked and found all languages are set Encoded to no by default. In such a case, even if I select "Copy from original language if translation language uses encoded URLs" in "Translated Document Options", it will NOT copy the URL from the original language? |
April 27, 2023 at 11:15 am #13549057 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Hi, That's correct. Regards, |
April 27, 2023 at 11:17 am #13549061 | |
chongweiC |
So, as all my language do NOT use encoded URL, is there a way to let the translated post copy the URL from the original post? |
April 27, 2023 at 11:34 am #13549249 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Hi, You could set your language to use encoded urls even if it doesn't, it is a kind of a workaround and the only solution that may work for this particular scenario. Regards, |
April 27, 2023 at 1:37 pm #13550411 | |
chongweiC |
In such a case, can I edit the page URL directly in your Advanced Translation Editor? I set Settings > Translated Documents > Page URL option to "Translate (this will include the slug in the translation and not create it automatically from the title)" but it seems the URL is still not included in the Advanced Translation Editor |