Reference for used trans path as html attribute #1535
Unanswered
marcio199226
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I have a question, I need to have a reference for used i18n label for translation as a data attribute on the html element
Example:
<div class="title" data-i18n-label="EXAMPLE.OF.PATH">Our translated label text</div>
Do you think it's possible to achieve ?
I think it can be done when using pipe/directive extending them and adding our implementation details for this use case but what about strings translated by service ?
thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions