Attachments in multilanguage website (6 posts)

  1. NikkoVr87
    Posted 3 years ago #


    It seems that Attachments and the qTranslate plugin cannot work together.
    If I try to attach something (with the qTranslate plugin activated) the page content disappears, and the attachment's caption shows instead.

    This happens only with the qTranslate plugin activated. (and of course I'll report the problem also to qTranslate plugin's page)

    I've tried it also in a new installation with only the default wordpress (with 2012 theme installed) and the two plugins activated.

    Any solution?

    WP: 1.5.1
    qTranslate: 2.5.34


  2. Jonathan Christopher
    Plugin Author

    Posted 3 years ago #

    I've never used qTranslate before but will try to take a look when I can.

  3. Jonathan Christopher
    Plugin Author

    Posted 3 years ago #

    I've installed an activated qTranslate but can't replicate your issue easily. Can you please record a screencast of the issue and post the link here so I'm able to more quickly look into the issue?

  4. NikkoVr87
    Posted 3 years ago #

    Basically that's what happens: I create a page and save the content (in the different languages) and all is ok, as you can see in this picture.

    Then if I add an attachment and save the page again, the attachment's caption takes the place of the page content.

    No text, if the caption is empty

    Or the text of the caption if something is written in it

    And it also affects the front-end (and that's the big problem)

    I don't know. Maybe is the way qTranslate manages the translations
    ex. <!--:en-->Random text<!--:--><!--:it-->Testo a caso<!--:-->

  5. Jonathan Christopher
    Plugin Author

    Posted 3 years ago #

    Thank you for following up, it looks to me like it comes down to how qTranslate stores it's data and what it does to Custom Field data (which Attachments uses to store data) but the behavior is quirky, I'm only able to replicate the issue on the first save, and subsequent saves work as expected:


    I'd be interested to hear what the qTranslate guys have to say about it.

  6. NikkoVr87
    Posted 3 years ago #

    Well... I'll try with another clean installation and hope everything works fine (at least from the second save on)...
    Anyway, as soon as I know something from the guys from qTranslate, I'll let you know.

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Attachments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic