Localization an html string to html object

Hi all,

I would like to ask to you which technique do you use to localizes a text.
In this case I have this phrase:

" < b>Good!< /b> Now you can do your job."

How can I use a binding to parse this text to html object to show to get this:

" Good! Now you can do your job."

Do you use 2 separated phrase or one only?

Thanks for help,
Andrea

Take a look at the i18n docs and using the [html] prefix for your key which will interpolate to innerhtml and render the content

2 Likes