Skip Navigation

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

Problem:
In this case, the site has buttons that link to the internal content of the site. On the translated content this button links to content that is not yet published.

Internal links are not translatable inside the WPML Translation Editor, as WPML auto-adjusts those links once a translation for the content that you are linking to has been published.

Solution:
Usually, it is not recommended to manually edit the translated content inside the WordPress Editor or a Page Builder if you are translating the content with the WPML Translation Editor, as the WPML Translation Editor would overwrite those changes once you translate the content.

Anyhow, in this case, the only solution would be to manually edit the button URL in the second language until the translated content that you are linking to on the original content is translated and published.

Relevant Documentation:
---

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 2 voices.

Last updated by Andreas W. 1 year, 1 month ago.

Assisted by: Andreas W..

Author Posts
October 17, 2023 at 8:59 pm #14597991

saraG-2

Hello WPML team,

We are translating a website with the Avada Page Builder with your Advanced Translation Editor from German to English.

This works mostly fine, but we have some elements that can't be translated in the translation editor. In this case a video element and button links (I can only change the button title).

So I tried to manually translate/exchange the video & buttons by editing the English page directly. This worked fine, but was reset and I don't know why. Maybe it gets reset when the translation editor is used again, because its content is considered the source of truth? Or something along those lines.

My question is how do I correctly translate things that are not in the translation editor?
Or how I can I stop manual translations from being reset?

Regards,
Sara

October 18, 2023 at 3:13 am #14598819

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

We are talking about URL translation here, correct?

For buttons, it is only expected, that their URL is available inside the WPML Translation Editor, if it is an external link, that you are pointing to.

You locate the URL inside the WPML Translation Editor like this:
https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/

Internal links will not appear inside the WPML Translation Editor. They will point towards the translated content, once a translation for the original content that you are linking to has been created.

When it comes to media, WPML will by default show the same media in all languages.

If you expect different media files in other languages, then you need to upload them at WPML > Media Translation, and in this case, you also might need to translate the source URL of the media file on the WPML Translation Editor.

Guide:
https://wpml.org/documentation/getting-started-guide/media-translation/

Please give this a try and let me know if further assistance in regard to this issue is needed.

Best regards
Andreas

October 18, 2023 at 7:01 am #14599431

saraG-2

Hi Andreas,

Thank you for your reply. This solves my issue with the video.

But for the buttons we have a special case. They lead to a page that already exists in English, but is not ready for the public. I wanted to disable the button links by adding a hashtag (#) instead of the correct link. Or alternatively hide the buttons completely.

So I guess the question is different: How can I temporarily have diverging content in the DE/EN pages?

Regards,
Sara

October 18, 2023 at 1:57 pm #14604861

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello Sara,

Yes, this button link will adjust itself once the translated content is published and it is not expected to show up on the WPML Translation Editor.

In this case, I can only suggest that you edit the button URL directly on the translated content.

Take note, that if you edit the original content and translate it again, then you will need to adjust this button link again manually.

This is really just a recommendation as an exception, as usually, you should not manually edit translations directly on the WordPress Editor, while the WPML Translation Editor is used for the translation of the content.

Best regards
Andreas

October 18, 2023 at 2:31 pm #14605547

saraG-2

Hi Andreas,

Thank you for your explanations.
The solution is not optimal, but now I understand the process and can inform my translators.

Regards,
Sara