This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem:string translate footer widget isn't showing

Solution:This is how widgets are normally translated:

1. If you are using the WordPress default widgets you will be able to translate both the title and content under the "WPML -> String Translation" screen

2. If you are using custom widgets which are coded correctly and use apply_filters on widget_title and widget_text then again you should be able to translate both the title and content under the "WPML -> String Translation" screen.

Note: If you are coding your own widgets see: Texts in widgets needs to go through 'apply_filters': http://wpml.org/documentation/support/troubleshooting-string-localization/

3. Sometimes the above options are not enough. In this case you may want to look into using Widget Logic see:http://wpml.org/2011/03/howto-display-different-widgets-per-language/

I suggest to use Widget logic , let me know your results

Relevant Documentation:

This topic contains 2 replies, has 2 voices.

Last updated by Eddie 1 year, 4 months ago.

Assigned support staff: Bobby.

Author Posts
May 24, 2018 at 9:09 am #2220876

Eddie

I am trying to: have different footer widgets per language

Link to a page where the issue can be seen: hidden link

I expected to see: different widgets

Instead, I got: an empty widget in col1, a untranslated widget in col2.

We've translate through WPML > string translation > domain 'widgets'
I've tried to clear the WPML cache, but this didn't affect anything.

May 24, 2018 at 10:13 pm #2226078

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi There,

This is how widgets are normally translated:

1. If you are using the WordPress default widgets you will be able to translate both the title and content under the "WPML -> String Translation" screen

2. If you are using custom widgets which are coded correctly and use apply_filters on widget_title and widget_text then again you should be able to translate both the title and content under the "WPML ->
String Translation" screen.

Note: If you are coding your own widgets see: Texts in widgets needs to go through 'apply_filters': http://wpml.org/documentation/support/troubleshooting-string-localization/

3. Sometimes the above options are not enough. In this case you may want to look into using Widget Logic see:http://wpml.org/2011/03/howto-display-different-widgets-per-language/

I suggest to use Widget logic , let me know your results

May 31, 2018 at 7:16 am #2254626

Eddie

Hi there,

We've managed to fix this issue. Thanks for the support! Cheers, Ed'