I'm using MyMail plugin to manage my newsletter.
I'm also using WPML to manage translations, there is no compatibility between the two plugins.
The subscription form, is placed in the footer area, through a MyMail shortcode and the wordpress text widget.
I want to translate the field labels, to the active language: So I was thinking on writing a filter for the "widget_text", search the "label name" and preg_replace() its output... But I don't find the way to achieve it.
Looking in the php class that manage the form, I could see that the function that outputs the form, stores the final code as:
return apply_filters('mymail_form', $html, $formid, $form);
So I guess that I need "search and replace" in the $html variable.
Any ideas? Many thanks!