I am using i18n, however it prints only key name not the value
here is my tag
<meta data-sly-test="${'ll_meta_test_content' @ i18n}" name="ll_meta_test_content" content="${'ll_meta_test_content' @ i18n , locale=request.locale}" />
here is my i18n node with value
Some test content
In the generated html I see meta tag as
<meta name="ll_meta_test_content" content="ll_meta_test_content"/>
It doesn't print key name instead of key value
My Site is set to English in Site Properties
My key node
My en node has jcr:language and jcr:mixinTypes defined
Solved! Go to Solution.
Views
Replies
Total Likes
It worked after I restart AEM Instance.
Seems there is an issue with AEM 6.2 or lower
[SLING-4814] i18n translations not working unless server is restarted - ASF JIRA
Views
Replies
Total Likes
What is the value of the property jcr:language on your site? Is it en or en_us?
Thanks,
~RK
Views
Replies
Total Likes
it is en
i Have already uploaded screenshot for this node as well
Views
Replies
Total Likes
Views
Replies
Total Likes
Try this..
<meta data-sly-test="${'ll_meta_test_content' @ i18n}" name="${'ll_meta_test_content' @ i18n}" content="${'ll_meta_test_content' @ i18n}" locale="${request.locale}"/>
/Teja
Views
Replies
Total Likes
@Tej G
It didn't work
Views
Replies
Total Likes
I believe there are similiar examples in the spec here - - htl-spec/SPECIFICATION.md at master · Adobe-Marketing-Cloud/htl-spec · GitHub
Views
Replies
Total Likes
It worked after I restart AEM Instance.
Seems there is an issue with AEM 6.2 or lower
[SLING-4814] i18n translations not working unless server is restarted - ASF JIRA
Views
Replies
Total Likes