Use Dynamic Widgets with qTranslate Plus
-
Hi,
just wanted to share my solution of making DW work with qtranslate plus. The plugin is supposed to work with WP 3.9 and higher and is based on the original qtranslate (which seems to be no longer maintained).
To prevent interfering with the original one, qTranslate Plus uses a prefix on most (all?) methods and variables. So to make it work with Dynamic Widgets, you have to update the respective function calls and variables.
To do this, go to wp-content/plugins/dynamic-widgets/mods and edit qt_module.php as follows:Line 23: change qtranslate_enabled_languages to ppqtranslate_enabled_languages
Line 36: change QTRANS_INIT to ppqtrans_INIT
Line 50: change qtranslate_default_language to ppqtranslate_default_language
Line 51: change qtrans_getLanguage to ppqtrans_getLanguageThat’s it. Enjoy ??
Regards,
Klayman
- The topic ‘Use Dynamic Widgets with qTranslate Plus’ is closed to new replies.