AEM is designed to automatically pick up all out-of-the-box components that require translation and send them through any translation connector when content is submitted. However, the process of sending custom created components for translation is more of a manual one. AEM, however, does provide the ability to add rules for these components to ensure that they are sent for translation.
In order to setup these custom components, you will first need to know specifically what custom components you intend to translate and be able to find them in CRXDE. If you know where they exist in a specific page, you can find them through the following method:
1. Find the specific page you know your custom component exists on and access developer mode. Click on the component, and a side bar will expand a list of options for that component, click on the edit symbol.
2. You should now find yourself in the CRXDE, it should automatically navigate you to the folder the component lives in, from here you are able to gather all the required information you need to setup translation rules in the translation configuration manager.
Once you have found the required information to begin adding custom components, you can begin to proceed with the following steps.
1. From the main page, Navigate to Tools > General > Translation Configuration
2. Select the content context and go to "Edit"
3. Here you will see a General tab which captures all of the out-of-the-box AEM content. You will need to click "Add Component" to add in translation rules for a custom component.
4. Enter the path you have found in CRXDE. You should now be able to add properties under the new component you have added. You can select several properties of your component to be translated if desired.
5. Once you have added all required components, save your changes to put them into effect. If you wish to check that your custom content is being picked up by AEM correctly, it is advised you switch your cloud config against the Straker connector to sandbox mode and start a translation on a page. This will replace all translatable text with "Lorem Ipsum" copy and allow you to confirm that the correct components are being translated.
Comments
0 comments
Please sign in to leave a comment.