[Resolved] Widget title not translating

Home Support English Support [Resolved] Widget title not translating

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, 19 hours per day.

This topic contains 4 replies, has 2 voices, and was last updated by  Sylvie 3 years, 2 months ago. The support staff assigned to this topic is Andreas Neuber.

Author Posts
Author Posts
December 5, 2012 at 6:24 pm #88634


Hi, I have this widget that does not translate. It comes from the plugin Subscribe 2. See http://imgur.com/tasXn

My site is http://www.sylvieadams.com


December 6, 2012 at 7:30 am #88687

Andreas Neuber
Forum moderator

Dear Sylvie,

This looks actually like a "plugin incompatibility".
WPML's String Translation is fetching any plugin text wrapped in gettext functions.
This seems to work.
However, in order to display the translation, the widget title needs to go through ‘apply_filters’ - http://wpml.org/documentation/support/troubleshooting-string-localization/ > 3) Texts in widgets needs to go through ‘apply_filters’ explains more.

Could you search the plugin files for " apply_filters( 'widget_title' " strings and let me know if they are used?

December 6, 2012 at 10:07 pm #88896


Hi Andreas,

I did a search in the subscribe2/include/widget.php and could not locate any " apply_filters( 'widget_title' " strings.

I would like to send you the code of the php file, could you let me know where?

December 7, 2012 at 1:55 pm #89029

Andreas Neuber
Forum moderator

Hello Sylvie,

Thanks for checking! I also downloaded the plugin and "screened" it. Same result - no "apply_filters".

In the end the problem looks like a "plugin / WPML incompatibility" issue.
I would recommend that you contact the plugin author and ask him to join our "Go-Global" program.
We work with plugin authors to solve compatibility issues between their plugins and WPML.

We are happy to work with any author who shows interest in this by contacting us through
this link http://wpml.org/documentation/theme-compatibility/go-global-program/ .

Can you arouse interest in the author by letting him know about the program?
This will benefit both you and other users of the same plugin.

December 7, 2012 at 7:04 pm #89097


Yes, I will try...

You must be logged in to reply to this topic.

If you are already logged in, please refresh your browser.