Is it possible to include html elements in the translations?
Closed this issue · 1 comments
iec989 commented
If I have a translation with "I agree on the <a href="/termsandconditions"> Terms&Conditions </a>"
It will be printed as text.
Is there any way I can force it to be written as HTML code?
Thanks
leonardovilarinho commented
You can create a computed property calling this.translate('...')
method, and in your element use v-html
for compile the html code (<footer v-html="computedProperty"></footer>
)