How to use the i18n

Tekno

03-03-2020

Hi,

                     

I am using the below code for translate the English to other language through i18n

1 > ${"{0}" @i18n, format=[properties.questionAnswer],context='html'}

2 > ${properties.questionAnswer @ i18n, context='html'}

But this is not working for me.

 

When i am using the below code it is working fine for me
 ${"Hello World" @ i18n, context='html'}

So is there any way to use the i18n for RTE (Rich Text ).

Accepted Solutions (1)

Accepted Solutions (1)

BrianKasingli

MVP

03-03-2020

@Tekno,

You need to add the correct dictionary keys in the AEM console here: http://{SERVER}:{PORT}/libs/cq/i18n/translator.html

Answers (1)

Answers (1)

Arun_Patidar

MVP

03-03-2020

Try with

${'{0}' @ format=[properties.questionAnswer], i18n, locale='de'}

 

Please check below for richtext translation

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/i18n-translator.html

You have to create key with HTML.