Adding additional language to 鈥渃q:tags鈥 not working in AEMaaCS
In 蜜豆视频 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
蜜豆视频 Experience Manager (AEM) as a Cloud Service 鈥 Sites
Issue/Symptoms
-
Dutch (
nl
) language added undercq:tags
locally 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.xml
file underui.content/src/main/content/jcr_root/content/_cq_tags
- Updated the
filter.xml
file 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
nl
to the list:[ en, de, es, fr, it, nl]
. - Save the changes.
- Navigate to
-
Update your
filter.xml
configuration 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 鈥渕erge鈥 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