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

Hebrew Language ISO code Issue

Avatar

Avatar
Validate 1
Level 2
victor_toledo_3
Level 2

Likes

14 likes

Total Posts

39 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
victor_toledo_3
Level 2

Likes

14 likes

Total Posts

39 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
victor_toledo_3
Level 2

03-04-2019

Hello everyone,

I have a problem with the Hebrew translation. I added the language "he" to /etc/languages. I also added the translations to the dictionary, but AEM is returning the default entries.

After a little more research, AEM is trying to find the translation for "iw" (the old iso code for the Hebrew language) instead of "he" (the new iso code for Hebrew). If you add "iw" to /etc/languages and then add the translation for iw language (using the translation tool /libs/cq/i18n/translator.html), it works fine. But I need it to add HE.

I'm using language masters pages. But i also tried adding jcr:language="he" to my page.

Any help with this?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 3
Level 2
rwinkle
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 3
Level 2
rwinkle
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
rwinkle
Level 2

03-04-2019

Unfortunately I think you will have to use iw in the dictionary, but can use he for your site structure.  We had the same issue and had to add iw-il to /etc/languages and an iw_il node under /apps/wcm/core/resources/languages like so:

<he_il

        jcr:primaryType="nt:unstructured"

        country="*"

        defaultCountry="he_il"

        language="Hebrew"/>

    <iw_il

            jcr:primaryType="nt:unstructured"

            country="*"

            defaultCountry="iw_il"

            language="Hebrew(iw-il)"/>

But the country site is under he-il.

Answers (3)

Answers (3)

Avatar

Avatar
Validate 1
Level 2
victor_toledo_3
Level 2

Likes

14 likes

Total Posts

39 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
victor_toledo_3
Level 2

Likes

14 likes

Total Posts

39 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
victor_toledo_3
Level 2

04-04-2019

Avatar

Avatar
Boost 3
Level 2
rwinkle
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 3
Level 2
rwinkle
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
rwinkle
Level 2

03-04-2019

I believe it's a limitation in Java 8 locales.  If you look at this page it uses iw-il Java 8 Supported Locales

Avatar

Avatar
Validate 1
Level 2
victor_toledo_3
Level 2

Likes

14 likes

Total Posts

39 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
victor_toledo_3
Level 2

Likes

14 likes

Total Posts

39 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
victor_toledo_3
Level 2

03-04-2019

thanks for the reply!! do you know if it's a aem bug?