Error when I try to make a local translate. I get this error when I try to make translation: 


  Not saved locally due to invalid HTML content.


take a look a my capture, first one shows the text to be saved as the translation, and the second capture shows the error message:
It's happening because you have &lt;div&gt; tags in your translation text.

locale_string_is_safe(), the function used to make sure the string provided for translation is safe, has this to say about the allowed tags:


  The allowed tag list is like filter_xss_admin(), but omitting div and img as not needed for translation and likely to cause layout issues (div) or a possible attack vector (img).


So basically you need to remove the &lt;div&gt; tags and your translation will work just fine.

If you're interested in the chain of functions called so you can check the logic for yourself, it's as follows:


l10n_client_save_string()
_locale_import_one_string_db()
locale_string_is_safe()


Since locale_string_is_safe() does allow &lt;span&gt; tags you might consider using those instead. If you need the element to be block level then you can just use CSS to do that.