Hi, I want to have my text translated and I am using poedit to translate my
text.
I am working in ZF2.
I do have my translation file (created with poedit) in place. And that is
working.
For example: in this view example the "Sign in" is translated.
(1) <a href="#">{{'Sign in' | trans}}</a>
No I want to add the login view with ng-include, like this:
(2) <div ng-include="'/account/login'"></div>
That works fine too, my login view is there.
But: none of the translations do work in this view. In the login view,
this:
(3) <span>{{ 'Password' | trans }}</span>
is not translated. If I add that (3) code however after (1), the
translation works.
My Question is: how can I ensure that the translations do work when I use a
ng-include to add other views?
Hope my question makes sense and that someone knows what to do.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.