• Resolved Simon

    (@sdellenb)


    Hi,

    First, thank you very much for continuing the qTranslate development and support!

    While our blog has many multi-language posts (German & English), we only write in German nowadays. I’ve set the option to show the notification that the text is only ‘available in Deutsch’ and also show the German text below it. This works pretty well when visitors with English browser settings come to the page.

    However, I have the issue that whenever I edit a post (German), it keeps adding an empty paragraph (<p></p>) to the English portion, which will result in an blank post below the ‘(Deutsch) Title)’ for English visitors.

    The only way to fix it is switching to the English tab in the editor, delete the empty paragraphs, switch back to German and then save it. This has to be done every time the article is updated (I usually do it right after it’s published).

    Is this a bug or do I need to set a special setting to prevent the adding of empty paragraphs in the unused language tab?

    Thanks in advance!
    Simon

    Versions:
    Wordpress 4.2.2
    qTranslate X 3.3

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gunu

    (@grafcom)

    @simon

    Try the latest Beta version of qTranslate-x Download it here

    See if that makes a difference.

    Do not use install via WordPress admin!
    First unzip the new file.
    Deactivate the existing version of qTranslate in WordPress admin.
    Then with FTP delete all files in the existing qtranslate-x folder and after that copy all new files in it.
    Activate qTranslate-x again via WordPress admin.

    Thread Starter Simon

    (@sdellenb)

    Thanks for your response, Gunu.

    Unfortunately, I have the same behavior with beta 3.3.8: Whenever I save an article again, the (empty) English version gets empty paragraphs (copied from the text editor).

    <p>?</p>
    <p>?</p>

    Steps I just tried:

    1. Open single-language post in editor & save without changing anything – adds empty p to English
    2. Switch to English tab and remove the above paragraphs
    3. Switch back to German tab & save (everything is well here)
    4. Click save button again with out doing anything – creates a new revision and adds the two empty paragraphs to the English version

    I think WordPress might also be adding paragraphs, but I can’t seem to find the setting for that..

    Update: I found the culprit: It’s TinyMCE Advanced‘s option

    Stop removing the <p> and <br /> tags when saving and show them in the Text editor

    When I uncheck that option, the empty English part will stay empty.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Single language post issues’ is closed to new replies.