hi, continuing this post… its possible to translate the widgets?
tks, marujobhz
Plugin Author
chsxf
(@chsxf)
We will see how this is possible to translate widgets.
Do not expect this feature to appear in the upcoming update for WP 3.8 but maybe in the one after.
Plugin Author
chsxf
(@chsxf)
After some investigation, it appeared that qTranslate includes a widget translation support, so mqTranslate includes it also.
You can use quicktags to specify different translations in your widgets.
Example for a category widget title:
[:fr]Mes Catégories[:en]My Categories
However, for this to work, widgets titles and text elements must be filtered using the widget_title et widget_text filters. So it may not work with all widgets out of the box and source code may need some update to support translations.
I tried this and it works:
[:en]My English Title[:fr]My French Title