• Resolved Sinkadus

    (@niwin)


    Hi

    Just noticed another thing: When I save/publish a post all the text I’ve put in my english tab (my secondary language) disappears. Please help…

    Also, and this is probably related to issue above, I can only change tabs once. When I click on “English” I can’t go back to Swedish. The same is true for Visual/Text.

    Any ideas!?

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

Viewing 15 replies - 1 through 15 (of 34 total)
  • Hi,

    Same here.

    I can’t click on the second language tab in the WYSIWYG editor.
    Same issues as described above.

    I hope someone has an idea?

    Thanks,
    pieter

    Same here.
    This appears to be since I’ve updated to the latest version today.
    Going in Debug mode with IE11
    If I open a Page, I can modify the English (primary language) and hit Update button.

    But if I click on the second language tab I get an error in post.php for this line:
    document.getElementById('ppqtrans_select_'+ppqtrans_get_active_language()).className='wp-switch-editor';

    Error is:
    Unable to set property 'className' of undefined or null reference

    I have the same issues

    I have the same problem. The ppqtrans_get_active_language() in qtranslate-xp/ppqtranslate_javascript.php give an undefined result when a tab is clicked. Please advise

    I think i solved the problem… I don’t know if this is the right solution but in file qtranslate-xp/ppqtranslate_javascript.php just before the end of the file there are two lines:
    document.getElementById(‘ppqtrans_select_’+ppqtrans_get_active_language()).className+=’test’;
    document.getElementById(‘ppqtrans_select_’+lang).className+=’test’;

    I replaced them with these two
    document.getElementById(‘ppqtrans_select_’+ppqtrans_get_active_language()).className=’wp-switch-editor’;
    document.getElementById(‘ppqtrans_select_’+lang).className=’wp-switch-editor switch-tmce switch-html’;

    It now seems to work as before the update

    I don’t have that file…
    I am using qTranslate Plus

    EDIT: oups sorry yes I do, will give this a try

    these two lines appear on line 377, 378 of the same file so I simply removed the 2 test lines and it looks like it is working now.

    Thanks for pointing in the right direction!

    Before i change those lines (417-418) i tried to comment them out but it broke. I even deleted them but it still breaks if i remove them… It only works for me if i replace them with the ones i gave before.

    Doesnt work! I changed those 2 lines but i have the same error. I can’t push the button english other language when i write a new post

    mjutras did u delete the 2 lines that alexandrosc2 wrote or just modified?

    be aware of the change… You need to replace the += with = not only ‘test’ values. I am just pointint that out. You need to replace the two lines not only the ‘test’. I hope it helps

    I didnt understand. It was a good plug in before the update of yesterday but now i can’t write posts anymore. Has someone the previous versiom of the plugin?

    Got it LeleOi, gimme an email I will send it to you…

    alexandrosc2, now it works for me for lang tab, but when switch between visuel/text tabs, it breaks again. So partially resolved… No time to search about now (23h19 fr time ;)), but I will try to find a way tomorrow.

    Good luck !

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘Can't change content in secondary language tab’ is closed to new replies.