The aim of this article is to provide the steps necessary to add support for a new locale in Adaptive Forms in AEM. This is based on a recently implemented real-world use case using AEM 6.5.12.
There is often a need for an Adaptive Form to support new locales that are not available out of the box in AEM Forms. We are going to see 2 examples of adding support for Malay and Singaporean Tamil languages.
Steps to add the support for the two languages
We are going to add support for Malay which has an ISO code of “ms” and Tamil from Singapore which together with the country code is “ta_SG”. The steps to add the support are as follows:
Create a node called languages of nt:unstructured type under /etc if it does not already exist and add the default and the new languages to be supported in a multi-string property called languages as per the below screenshot
ta-sg and ms have been added in the above languages property
2. In the above screenshot we have added ta-sg (Tamil Singapore) and ms (Malay) in addition to the already existing languages.
3. Browse to http://<host>:<port>/system/console/configMgr and open the configuration called Guide Localization Service to add the new languages to be supported as par below.