1

For example, I have created a custom post creator. I am using wp_editor() to generate "WYSIWYG" editors for content.

I am using qTranslate for multi-language user experience. Unfortunately I am forced to create a separate "WYSIWYG" editor for every language translation. Overkill.

How to enable / implement qTranslate language tabs as they are in default post creator.

1 Answer 1

1

1 - I would think that the qtranslate plugin will add the tabs to the wp_editor() editor automatically. At least , it was doing it when I used it for CPT ..

2 - there is this plugin which helps plugin authors to implement qtranslate in own plugins .

3 - there is a filter add_filter(‘the_editor’, ‘qtrans_modifyRichEditor’); in qtranslate you might want to investigate

4 - you can also use a simple loop in order to create the tabs using qtrans_getLanguage()

3
  • Hi krembo99, can you explain this steps a little detailed?
    – Sebastian
    Mar 5, 2014 at 13:49
  • Which step are you referring to ?
    – krembo99
    Mar 5, 2014 at 16:46
  • Ițm referring on step 3
    – Sebastian
    Mar 14, 2014 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.