Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19371

    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

    #103454

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘WPML Choices Widget's translation’ is closed to new replies.