• Resolved miquelpontes

    (@miquelpontesgmailcom)


    Hello,

    I have migrated from mqTranslate to qTranslate-X without any important issues, I had to addapt several function calls in my PHP custom code, following instructions in the support forum, but everything run fairly well.

    However, I have found a problem with one of the plugins (Easy Content Templates 1.4.3.1) that apparently had no relation to qTranslated but worked fine with it.

    This plugin works by copying a template content into the specified field of a new page content. If this content has language marks of the type used by qTranslate (<!–:en–> and son on) it works just fine, pasting them in the new post/page content field, so the multilingual plugin can separate them accordingly.

    However, this Template plugin does no longer work after migrating to qTranslate-X because it seems to correctly insert the template content, but qTranslate-X apparently filters the language marks before pasting the content, so it inserts all the different template languages in the active language content field only, leaving the alternative languages content fields blank.

    Any ideas?

    https://www.ads-software.com/plugins/qtranslate-x/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author John Clause

    (@johnclause)

    Hi Miquel, nothing was done towards to this problem, but you may try your luck with the latest version from GitHub, which you can download with ‘Download ZIP’ button on GitHub page or press here for the sake of convinience. Let me know if the problem stays. If it does, then I will need the step description how to reproduce.

    Thread Starter miquelpontes

    (@miquelpontesgmailcom)

    Hi John. Thank you for your quick answer.

    Since you posted your answer and I tried to put it into practice, a new version of qTranslate-X was released. To my understanding, the version you asked me to try in your answer (downloaded from GitHub) is the general release now available (version 3.1 that consolidates many changes and fixes).

    Well, I installed this version 3.1 and the Template plugin malfunctions the very same way: it does not copy the content template properly. Instead of copying every language portion of the template in the corresponding language portion of the new post, it copies everything (the full template content) on the active language portion of the post only.

    It is as if the template plugin pastes the correct template contents to the post, but qTranslate fails to process the pasted template content BEFORE actually pasting it into the editor. I don’t think the issue happens only with qTranslate-X, but the Template plugin may need adjustments too for compatibility.

    Well, if I click another language button everything is lost, but if instead I switch the editor from visual to text mode, where I see the inserted code is more or less what it has to be, every language portion is separated by the correct markers, before they were of the type <!–:en–> and since the last qTranslateX update they are of the type [:en], finishing with a [:].

    Okay, if I delete the language markers [:en] and so on, then cut and paste every language portion of the template onto the proper language portion of the new post, and everything runs as expected from then on, but I need this manual action or I can’t use the templates.

    To reproduce the problem:

    * install WordPress version 4.1.1 (last one)
    * install qTranslateX version 3.1 (last one)
    * install Easy Content Templates version 1.4.3.1 (last one)
    * Create a template with at least two languages.
    * Create a new post, then use a template to “populate” the post (no need to type anything, the problem becomes obvious).

    I have not found another Content Template plugin that does what I want and is compatible with qTranslateX, but I’m open to options. Any ideas?

    Thank you for your time !

    Plugin Author Gunu

    (@grafcom)

    @miquel,

    I’ve tried your suggestion:

    * install WordPress version 4.1.1 (last one)
    * install qTranslateX version 3.2.9.8 (now the last one)
    * install Easy Content Templates version 1.4.3.1 (last one)
    * Create a template with at least two languages.
    * Create a new post, then use a template to “populate” the post (no need to type anything, the problem becomes obvious).

    Populate the post (Select Template and Load the template – right?)

    Puts all language data into the one active language of the new post.

    If this is correct then I can reproduce your problem.

    Still interested to solve this?

    Plugin Author Gunu

    (@grafcom)

    @miquel,

    enjoyable supplement!!

    When Populate the post all language data goes into the one active language of the new post, yes?

    But…. now save that new post and everything goes in the different languages of that post.

    So I think it works now.

    Thread Starter miquelpontes

    (@miquelpontesgmailcom)

    Hi Gunu,

    Thanks for your reply. Yes I’m still insterested on a solution to this problem.

    The installation procedure you state is correct, and we have the same versions of WP (4.1.1) and plugins (qTranslate-X 3.2.9 -not 3.2.9.8- and Easy Content Templates 1.4.3.1). However, I’ve tried to replicate your steps and when I save the post (or page) all populated contents simply disappears. I end up with a blank post (or page).

    I must say I use three languages, and the template is made with them three. I even tried to create a new template (because the one I was using was migrated from previous mqTranslate) but the result is the same.

    I only update the post content, not the title nor excerpt.

    What am I doing wrong ?

    Plugin Author Gunu

    (@grafcom)

    @miquel,

    try the latest qTranslate Beta version 3.2.9.8.3 Download here

    Thread Starter miquelpontes

    (@miquelpontesgmailcom)

    Hi Gunu,

    I manually updated the plugin with the version you provided and IT WORKS (!!) the way you explained.

    It’s not even necessary to “publish” the page/post; by just saving the draft it puts every language content in the proper place, so I can begin to fill contents with no further problems.

    Thank you very much indeed !! qTranslate-X is a great plugin with a great service !!

    Plugin Author Gunu

    (@grafcom)

    You are welcome!

    You can review this plugin to help other people to find out the value.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Issue with Easy Content Templates 1.4.3.1 plugin’ is closed to new replies.