Go to http://host:port/system/console/bundles/org.apache.sling.i18n
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:
- Log to http://host:port/libs/cq/i18n/translator.html
- Make some changes in dictionaries, for example, change FR value for Create to Créerrrrr
- Change user's language preferences to Francais
- 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
-
-
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:
-
Go to http://host:port/crx/packmgr/index.jsp and log in as admin.
-
Install the attached package cq-6.2.0-patch-GRANITE-19490-1.0.zip
-
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
-
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