Adding additional language to “cq:tags” not working in AEMaaCS
In Adobe Experience Manager as a Cloud Service (AEMaaCS), attempts to add Dutch (nl) as a supported language under cq:tags succeed locally but fail to reflect in the development environment after deployment via Cloud Manager. To resolve the issue, update filter configuration and verify language support.
Description description
Environment
Adobe Experience Manager (AEM) as a Cloud Service – Sites
Issue/Symptoms
-
Dutch (
nl) language added undercq:tagslocally does not appear in the development environment. -
The following steps are taken to mitigate the issue, but the updated configuration did not reflect in the development environment:
- Added a
.content.xmlfile underui.content/src/main/content/jcr_root/content/_cq_tags - Updated the
filter.xmlfile underui.content/src/main/content/META-INF/vault/filter.xml with <filter root="/content/cq:tags" mode="merge"/>
- Added a
-
Deployment completes without errors, but changes are not reflected.
Resolution resolution
To resolve this issue, follow these steps:
-
Ensure that Dutch (
nl) is included under recognized languages in AEM by verifying its presence at/libs/wcm/core/resources/languages/nl, and if absent, create it by copying an existing language node and updating its properties accordingly. -
Update the languages property in
cq:tags:- Navigate to
/content/cq:tags. - Edit the languages property (multi-string).
- Add
nlto the list:[ en, de, es, fr, it, nl]. - Save the changes.
- Navigate to
-
Update your
filter.xmlconfiguration by replacing<filter root="/content/cq:tags" mode="merge"/>with<filter root="/content/cq:tags" mode="update"/>to ensure that existing content is updated along with the addition of new configurations, as the “merge” mode only adds new content without modifying existing settings. -
Redeploy your code using Cloud Manager after making the adjustments, and verify that Dutch (
nl) appears as a supported language under/content/cq:tags.
Related reading
Tag language settings disappear after service pack installation in AEM documentation