Indonesian language in AEM | Community
Skip to main content
JeremyJud
Level 2
September 28, 2017

Indonesian language in AEM

  • September 28, 2017
  • 5 replies
  • 7757 views

I have what looks like an issue with the support of Indonesian language by AEM

AEM seems to expect the code "id"/"id_id" (like in wcm/core/resources/languages)

But Java provides the code "in_id" (see Java Supported Locales​, for example with currentPage.getLanguage(false))

It seems the issue has already reported there : MSM New language (Indonesian) vs Page.getLanguage() , but no answer.

I'd like to know what is the best approach to fix/workaround this issue.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

smacdonald2008
Level 10
September 28, 2017

Please file a ticket with AEM Support to deal with this specific situation.

November 20, 2017

Hi, Did you file a ticket for this? we have the same issue.

July 15, 2018

Got any answer for it? im also having same issue.

MarkJ_TX
Level 2
August 10, 2018

I am also curious if anyone got an answer? We are running into the same issue. We set up Indonesia in AEM as id_id and then we were having problems with our i18n file not working. We worked with Adobe support and that is when we found out the JAVA issue.

Level 2
November 12, 2018

Hi,

This observation is due to Java's Locale class where "id" is replaced with "in". As a workaround, please use dictionaries with language in_id. In case you face more related issues, please let us know.

sgarg122001
Level 2
January 22, 2019

hi Jery,

We are also facing the same issue in our ongoing project can you please let me know if you got any update from day care or adobe to fix this issue.

Thanks

Sahil Garg

eugenen29508336
Adobe Champion
Adobe Champion
March 13, 2019

I've managed to get this working by updating 2 locations:

1) /apps/wcm/core/resources/languages/in_id

2) /apps/<projectname>/i18n/id

For (1), I did not need to add a "defaultCountry" property to the node to get it working. This step will add "Indonesian" into the languages dropdown in page properties

For (2), you will need jcr:language as in-id and if you're invoking i18n from your servlets, make sure you're passing "in-id" as parameter to your resourceBundle when instantiating I18n object.

farahz913310
Level 2
April 10, 2019

I am trying to add i18n  for indonesian language.

I can see id in translator.html.But  indonesion language  does not work at component level.

I added "id" in etc/languages but still doesnt work.

Can anyone help me on this.

Thanks in advance.