i18n key sightly issue

shajiahmed

23-02-2018

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

i18nkey-val.png

My en node has jcr:language and jcr:mixinTypes defined

Screen Shot 2018-02-23 at 6.41.28 PM.png

Answers (5)

Answers (5)

Teja_G

25-02-2018

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

shajiahmed

24-02-2018

it is en

i Have already uploaded screenshot for this node as well