Hi, I try to translate my widgets from french to Englis but the Choices widgets doesn't translate.
I notices the theme hooks onto the widget title code adding <span class='widget_first'> to the text.
Is this the reason ? Any workaround without widget logic ?
Thanks
WPML Choices Widget's translation
2 posts from 2 voices-
Posted 4 months ago #
-
No, I'm pretty sure that this hook doesn't affect WPML but you can try to comment out the filter code in functions-choices.php. Open up the file and replace:
add_filter('widget_title', 'avia_widget_title'); add_filter('link_category', 'avia_widget_title');with:
// add_filter('widget_title', 'avia_widget_title'); // add_filter('link_category', 'avia_widget_title');Imho there's no other way to translate the widgets yet - I checked the support forum: http://wpml.org/forums/topic/how-do-i-translate-widgets/ and http://wpml.org/forums/topic/how-can-i-translate-text-from-widgets/ and all threads recommend the widget logic solution.
Posted 4 months ago #
Reply
You must log in to post.














