• Resolved bkwineper

    (@bkwineper)


    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:

    1. A post is created in English (=primary language) and saved as DRAFT
    2. A secondary language post (Swedish) is created, with a manually translated text, and saved as DRAFT
    3. Sometime later (often many days), the English post is published
    4. 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bkwineper

    (@bkwineper)

    I could perhaps clarify that this workflow may seem strange but is quite logical and straight-forward (and the way you need to do it) if you prepare several posts/articles in advance and then post one per day:

    Day 0: prepare and save as drafts a number of articles for later publication, in both languages

    Day 1 and 1+N: Publish one of the pre-prepared articles every day. (Each day you have to re-save as draft in order to get the correct publishing date).

    Plugin Support Maybellyne

    (@maybellyne)

    Hello @bkwineper

    Thanks for usingthe Yoast SEO plugin. Based on the provided information, we expect this to be a bug. We’re actively using the bug tracking on our GitHub repository, so your best next step would be to create a new issue for our developers here.

    You will need an account to create a new issue. Please provide as much information about the issue, including the URL to this conversation. This guide will help you submit a complete report which may result in a faster resolution.

    Thread Starter bkwineper

    (@bkwineper)

    Hello,

    Thanks for your reply.

    Yes, me too, I think this is a bug.

    I thought this was the place to report bugs.

    I have now created a github report here:

    https://github.com/Yoast/wordpress-seo/issues/21419

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Yoast replaces the 2nd language contents with 1:y lang when using Elementor+WPML’ is closed to new replies.