Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to edit automatic translations on their bilingual website created with WPML, receiving a warning about potential loss of changes when using the page builder. Additionally, they face issues with URL translations for English posts, where 'nyheder' (Danish for 'news') does not automatically translate to 'news' in the URL, despite using a custom permalink structure.
Solution:
To address the issue of editing automatic translations without losing changes, we recommend avoiding direct edits in the page builder, as this can overwrite existing translations. Instead, use the Advanced Translation Editor provided by WPML. For the URL translation problem, first, ensure you have utilized the Translate Link Targets feature found under WPML → Settings. This feature helps in updating internal links to correctly point to the corresponding content in the target language.
If 'nyheder' still does not translate to 'news' in your URLs, consider creating a custom parent category with the desired English slug and assign it to the relevant posts. This approach leverages the category/post-name permalink structure to maintain consistent URL appearances across different languages.
Please note, if these solutions do not resolve your issues or if they seem outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, do not hesitate to open a new support ticket for further assistance at WPML support forum.

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: 

This topic contains 3 replies, has 0 voices.

Last updated by Andrey 2 days, 20 hours ago.

Assisted by: Andrey.

Author Posts
July 8, 2025 at 6:48 am #17211906

Christian Cortsen

Background of the issue:
I have created the website saaf.dk, where the main language is Danish, and I’ve used WPML to add an English version. I’ve used automatic translations, but that brings several challenges afterward.

Symptoms:
I can’t edit the automatic translations. A pop-up appears saying: "Warning: Edits you're about to make will be lost. You are about to edit this translation using Cornerstone. Any changes you make will be lost until next time you send this page for translation." This is a problem because I want to be able to make minor corrections to the translations, and also buttons and links need to be updated to English URLs, as these are not automatically adjusted during translation.

On the website, there is also a news section which in Danish has the URL: saaf.dk/nyheder/ ("nyheder" means "news" in Danish). On the English version of this page, the URL becomes saaf.dk/en/news/, which is perfectly fine.
However, all English posts get the following URLs: saaf.dk/en/nyheder/.../.
How can I change "nyheder" to "news" in these URLs?

Questions:
How can I edit the automatic translations without losing changes?
How can I change 'nyheder' to 'news' in the URLs for English posts?

July 8, 2025 at 2:20 pm #17214563

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

The warning you’re seeing is expected when attempting to edit a translated page directly in the page builder. This approach can potentially overwrite existing translations done via the Advanced Translation Editor.

To help resolve any link-related issues, have you tried using the Translate Link Targets option located at WPML → Settings → Translate Link Targets? This feature scans and updates internal links in translations to ensure they correctly point to content in the appropriate language.

July 9, 2025 at 6:27 am #17216950

Christian Cortsen

Thanks Andrey.

I still can't get /nyheder/ to translate to /news/. I've tried the "translate link targets" feature without luck.

I'm using a custom permalink structure. Could that be the issue? See my attached image.

Regards,

Christian

Skærmbillede 2025-07-09 kl. 08.25.15.png
July 9, 2025 at 12:07 pm #17219192

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the explanation, Christian.

I believe I now understand the cause of the issue. Custom strings added manually within the custom permalink structure are not translatable by WPML.

One possible workaround is to create a custom parent category with the desired slug and assign it to the relevant posts. This way, using a category/post-name permalink structure will produce the same URL appearance across languages.

Alternatively, achieving the same result through custom programming might be possible, but please note that such customization falls outside the scope of our support.