angular-gettext
angular-gettext copied to clipboard
DEBUG mode doesn't apply [MISSING]: for controller translations
When you do the following in a controller...
var sometext = gettext("I am some text to translate");
...and then add that variable to an HTML template like such
<p>{{$ctrl.sometext}}</p>
There is no indication of [MISSING]: being applied to these translated strings.
Try this in your HTML: <p>{{$ctrl.sometext | translate}}</p>
gettext() only marks it for extraction, it still needs to be translated later on.