Posts by toleanu

1 post
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has collected 1+ items on Envato Market
  • Located in Europe
+1 more
toleanu says

I think is a good idea to answer my own question with a solution since I found it. The problem was that I had html tags inside of translation functions. Example:
_e('<strong>Here is my text to translate.</strong>','text_domain')
changed to this:
echo '<strong>'. _e('Here is my text to translate.','text_domain') .'</strong>';
:whistle:
You should not use e under echo (use _()):
echo '<strong>'. __('Here is my text to translate.','text_domain') .'</strong>';
by
by
by
by
by
by