• Resolved gchtr

    (@gchtr)


    Hi there

    I have a question regarding post translations when the advanced translator is not used.

    Consider the setup of a multisite network with a German and an English site. When I create a new post on the German site, I have see a checkbox ?Translate this post?.

    What does it do exactly? Because whether I check this box or not, when I publish or save the new post, the result is the same:

    – The checkbox is there, but unchecked, and I see the ?Change relationship? button.
    – No post was created on the English site.

    In order to create a post, I need to use the ?Change relationship? button and select ?Create new post? and save.

    When I do that, the ?Translate this post? button disappears. I’m asking myself: What was it used for? Because when I enable the advanced translator functionality, the checkbox doesn’t show up, either.

    I also checked whether it has something to do with the data showing up in the Dashboard, but there I couldn’t find anything either.

    I don’t know if this a deprecated feature, something that’s not working or if I’m just missing how it works. Clarification would be very much appreciated. Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support dinamiko

    (@dinamiko)

    Hi gchtr,

    Translate this post checkbox connects the post to the remote site, so if you check it and you Publish/Update the post, you’ll find a new post created in the remote site with Draft status.

    Change relationship is another way to connect posts and is not directly related to Translate this post checkbox, it’s the same either if you are using Advanced Translator or not.

    Thanks,
    Emili

    Thread Starter gchtr

    (@gchtr)

    Thanks for your clarification!

    Translate this post checkbox connects the post to the remote site, so if you check it and you Publish/Update the post, you’ll find a new post created in the remote site with Draft status.

    Cool, so that’s how it should work. Apparently, it didn’t work me, because it always bailed out on the following line: https://github.com/inpsyde/MultilingualPress/blob/2.11/src/inc/post-translator/Mlp_Translatable_Post_Data.php#L457.

    Now that got me thinking, there must another plugin that is using switch_to_blog. And yes, Intuitive Custom Post Order seems to be the culprit, because it doesn’t use restore_current_blog() after using switch_to_blog(). The issue needs to be resolved by the plugin author.

    • This reply was modified 6 years, 12 months ago by gchtr. Reason: Update info about solution
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What does the button ?Translate this post? do?’ is closed to new replies.