Hi,
I need to use i18n key in my htl for a text. How can I add it?
I added "${authorprofile.followme.default @i18n,context='html'}" b/w div class its not working. How should I add it?
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
Please try as below.
It will work in div also.
<div data-sly-test.default="${'authorprofile.followme.default' @ i18n}" />
Let me know if still any issue.
Hope that helps!!
Thanks
Hi,
please find the example below :
<sly data-sly-test.emptyTitle="${'myproject.component.empty' @ i18n}" />
Please try as below.
It will work in div also.
<div data-sly-test.default="${'authorprofile.followme.default' @ i18n}" />
Let me know if still any issue.
Hope that helps!!
Thanks
Views
Likes
Replies