Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to use the i18n

Avatar

Avatar
Give Back
Level 1
Tekno
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
Tekno
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
Tekno
Level 1

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)

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

583 likes

Total Posts

570 posts

Correct Reply

219 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

583 likes

Total Posts

570 posts

Correct Reply

219 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
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)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,275 likes

Total Posts

3,151 posts

Correct Reply

887 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,275 likes

Total Posts

3,151 posts

Correct Reply

887 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
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.