Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue with WPML where embedded links in posts revert to the original English version after saving, despite initially displaying the correct language version.
Solution:
We recommend setting the oEmbed Responses (oembed_cache) to "Translatable" with the option to "use translation if available or fallback to the default language." Instead of using language-specific URL formats, use a universal link format based on the post ID (e.g.,

https://expforex.com/?p=59309

). This should redirect correctly to the appropriate language translation upon saving. However, this solution requires manually updating each article with the new numeric links, which can be labor-intensive.

If this solution does not resolve the issue or seems outdated, or if it does not apply to your case, 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, please open a new support ticket at WPML support forum for further assistance.

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 17 replies, has 2 voices.

Last updated by Ilyes 1 year, 6 months ago.

Assisted by: Ilyes.

Author Posts
November 1, 2024 at 2:51 pm #16355299

vladislavA-6

so, I understood how to translate automatically. By creating a draft and adding, for example, 15 tags, after that automatic translation = ok. Thanks.

The question remains about automatic addition of "translated" tags to translated content? How to copy tags?

Manually searching (there are more than 1300 of them) takes a very long time...

November 1, 2024 at 3:01 pm #16355320

vladislavA-6

Sorry. I think too much. I am a developer myself and I like to "study" program and see how programs work.

I like your plugin. Since October 7th I have translated about 25 posts into 12 (-1 original) languages. And that's about 300 new articles on the site :-)))

November 4, 2024 at 12:10 pm #16360804

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

There is actually a way to translate/copy tags (and all other taxonomies) automatically in one go, by assigning them to a temporary post or page and sending it to translation.

To translate all your tags at once:

- Create a temporary page or post.
- Assign all Tags terms you want to translate to this post and save as draft.
- Next, go to WPML → Translation Management and send the post for translation/duplication

WPML will now translate or duplicate all tags terms assigned to the post. If you’re translating manually, the taxonomy terms will appear as fields in the Advanced Translation Editor.

Best,

November 7, 2024 at 6:58 am #16375296

vladislavA-6

I haven't found a solution to this problem yet because this problem occurs periodically on different articles and links. I need to translate all the articles so that I have a full set of links to include in the article. After that, I will be able to identify the problem and write about it in more detail.