Hello Bill,
At the moment I am doing some translations with WPML and I realized that Hours and Contact widget is not translatable (I can translate the widget titles like “Title” or “Hours6” but not the value which I enter in those fields). I have found this reply on WPML forum:
“If the widgets are using standard WP functions and getTExt calls, you should be able to translate all those strings from String Translation.”
I am going to investigate a little bit more in order to be sure that I am doing the correct steps, but would like to hear your opinion because Hours and Contact is your custom widget?
P.S. Web site is under maintenance mode.
Thank you in advance.
Edit: I have found something more:
“Then probably the Widget doesn’t apply the filters as in this example:
function widget( $args, $instance ) {
extract($args);
$title = apply_filters( ‘widget_title’, empty($instance[‘title’]) ? ” : $instance[‘title’], $instance );
$text = apply_filters( ‘widget_text’, $instance[‘text’], $instance );
}”