We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translate-namespace
angular-translate has a translate-namespace directive.
Would it be possible to support this directive with translate-once?
translate-once
Example:
<div translate-namespace="CONTENT"> <div> <h3 translate-once=".HEADERS.TITLE"></h3> <h3 translate-once=".HEADERS.WELCOME"></h3> </div> <div translate-namespace=".HEADERS"> <h3 translate-once=".TITLE">.TITLE</h3> <h3 translate-once=".WELCOM"></h3> </div> </div>
The text was updated successfully, but these errors were encountered:
I would imagine so!
If we look at how the translate directive accesses translateNamespace, we can see that it's relatively simple.
translate
translateNamespace
It would require isolating the scope on translate-once directives, I'm not sure if this might create a breaking change for some people
scope
Sorry, something went wrong.
Any update on this?
No branches or pull requests
angular-translate has a
translate-namespace
directive.Would it be possible to support this directive with
translate-once
?Example:
The text was updated successfully, but these errors were encountered: