Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

AEM translations issues

Avatar

Level 4

Hi All,

 

We have a requirement that we don't want to translate/update translated content on a component in language copies. We have in the past send the english page(containing the component)  for translations and now want to keep separate content in language copies. But when ever we send the english page for translations it updates the language copy. I have removed the property from translation_rules.xml file still facing the same issue.

 

@kautuk_sahni 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Employee Advisor
I believe you need to define translation rules. Refer to [1] for more details.
 
Translation rules identify the content to translate for pages, components, and assets that are included in, or excluded from, translation projects. When a page or asset is being translated, AEM extracts this content so that it can be sent to the translation service.
Pages and assets are represented as nodes in the JCR repository. The content that is extracted is one or more property values of the nodes. The translation rules identify the properties that contain the content to extract.
Translation rules are expressed in XML format and stored in these possible locations:
  • /libs/settings/translation/rules/translation_rules.xml
  • /apps/settings/translation/rules/translation_rules.xml
  • /conf/global/settings/translation/rules/translation_rules.xml

 

[1] https://docs.adobe.com/content/help/en/experience-manager-65/administering/introduction/tc-rules.htm...

Avatar

Level 4
i have removed the properties from translation_rules.xml but still they are getting updated in the component. We want different content in the component in language version. For Example : English will have different version and Chinese will have different version.