Yoast replaces the 2nd language contents with 1:y lang when using Elementor+WPML
-
Yoast replaces the secondary language with the primary language when using Elementor+WPML
This may seem like a complicated scenario, but it is how we publish.
Prerequisite:
- The site uses Elementor and WPML, as well as Yoast
The post creation process is this:
- A post is created in English (=primary language) and saved as DRAFT
- A secondary language post (Swedish) is created, with a manually translated text, and saved as DRAFT
- Sometime later (often many days), the English post is published
- And then the Swedish (secondary language) post is published
IMPORTANT: Just before the posts are published (step 3 & 4) they are re-saved as drafts. This is must be done in order to get the correct publishing date and time on the posts. (If it is not done, the publishing date is the one when the original post was saved as draft, which obviously is wrong.)
And here comes the error:
In Step 4, it turns out that the Swedish text that had been entered in Step 2 has been replaced by the English text, the Swedish text has been deleted. And not only that, if the English text has been modified, it is not that version that is used but the original (obsolete) text that is put there replacing the Swedish one.
You can see how this works in this Loom video:
https://www.loom.com/share/7b7a7304c61245ad932bf981c893aac0
Plugins used:
- Yoast SEO
- WPML:
- Multilingual CMS
- String Translation
- SEO (“glue” to Yoast)
- Elementor and Elementor Pro
- Classic Editor
- All other plugins deactivated
When I deactivate Yoast and WPML SEO this does not happen.
It seems to me that this is very likely related to another similar bug I reported some time back where Yoast reverts back to obsolete permalinks:
https://www.ads-software.com/support/topic/cannot-change-permalink-when-yoast-elementor-are-active/
These two bugs are creating a lot of extra work for us so I hope they will be resolved sometime in the reasonable future. It is actually a very huge issue for us.
- The topic ‘Yoast replaces the 2nd language contents with 1:y lang when using Elementor+WPML’ is closed to new replies.