Issue

Internationalization dictionary updates do not appear in AEM.  For example, /libs/cq/i18n/dict.de-DE.json 

To reproduce the issue, follow the steps:

  1. Log to http://host:port/libs/cq/i18n/translator.html
  2. Make some changes in dictionaries, for example, change FR value for Create to Créerrrrr
  3. Change user's language preferences to Francais
  4. In http://host:port/projects.html/content/projects, the create button label has not been changed.

Environment

AEM 6.2, AEM 6.3

Cause

There is a known issue on org.apache.sling.i18n bundle 2.5.6, where internationalization translations are not updated unless bundle is restarted: SLING-7190.

This issue is fixed in org.apache.sling.i18n version 2.5.10.

Resolution

A solution is included in 6.2SP1CFP10 and 6.3SP2CFP2.

Workaround for AEM6.2 and AEM6.3

  1. Go to http://host:port/system/console/bundles/org.apache.sling.i18n

  2.  Restart the bundle or run this curl command:

    curl -u admin:admin http://host:port/system/console/bundles/org.apache.sling.i18n -Faction=update

Solution for AEM6.2:

  1. Go to http://host:port/crx/packmgr/index.jsp and log in as admin.

  2. Install the attached package cq-6.2.0-patch-GRANITE-19490-1.0.zip

  3. The package contains a config /libs/system/config/org.apache.sling.i18n.impl.JcrResourceBundleProvider.config:

    curl -u admin:admin http://host:port/system/console/bundles/org.apache.sling.i18n -Faction=update
  4. If any custom internationalization dictionaries exist under a different path than /apps, /libs, or /content, then use CRXDe to update the resource.paths property in /libs/system/config/org.apache.sling.i18n.impl.JcrResourceBundleProvider.config with the additional paths.

Download

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy