ng-translate
ng-translate copied to clipboard
InnerHTML might have been modified by angular before the translation link is done
http://jsfiddle.net/cjesK/59/
Look at the console, you'll see Missing localisation for "Hello <strong class="ng-binding">{{user}}</strong>!"
because angular added a class="ng-binding"
to the element
A fix might be to save the original innerHTML within the compile function and reuse it in the link function where it might already have been modified.
This is a common problem when trying to set up translation upon dependent translation ids. You might checkout ngTranslate. It uses locale independent translation ids to translate your contents.
I will try to find a sollution for this in the next week.