Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    Sorry. Seeing your screenshot, I would believe that your two media are totally independent and do not share the file. I have unfortunately no other workaround to propose as I did not forecasted this case.

    Thread Starter Navarro

    (@navarradas)

    Hi!

    I attach you other couple of images so you can see better this weird behavior for the moment you can take a look for next releases.
    Indeed it looks that the cause is what I said, double translation created.
    Last translation is the one which rules, I mean, the original picture has a translation link towards the last translation. But the first translation still has the link towards the original file so this is what happens:
    In this picture you can see that link is towards attachment 2721. When click and go to attachment 2721, there is not link to any translation because the last one was eliminated.

    You can reproduce this behavior taking a translated picture, and executing the GET commands to create a new translation. For example, to create a new English translation for attachment 1957:
    https://navarradas.com/wp-admin/admin.php?action=translate_media&from_media=1957&new_lang=en&_wpnonce=37336218ff
    Then delete previous translation.

    The workaround of creating a new translation is not a big deal thanks to Media Library Assistant plugin, but then I have to copy again all captions and ALT text and modify every post with deleted translations to replace pictures and galleries with the new translations. The last I can do it easier with Search Regex plugin.

    Fortunately I have not many cases, but would be a nice fix for the future ?? Anyway I’ll take care and next time delete the not used translation.
    Hopefully these clarifications are useful also for other users.

    Regards,

    Plugin Author Chouby

    (@chouby)

    Thanks for the steps to reproduce the bug. In the development version (1.7.9.1), I introduced a fix to prevent creating a media translation if one already exists.
    https://downloads.www.ads-software.com/plugin/polylang.zip

    Thread Starter Navarro

    (@navarradas)

    Awesome. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Edit translation in media attachments’ is closed to new replies.