Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

How to change DEFAULT LOCALE for fields and Text through XML

Avatar

Former Community Member

How to change DEFAULT LOCALE for fields and Text through XML to make it English(canada) or USA.

when default locale is selected there is no tag in XML. Is there any way to replace it. Thanks

1 Reply

Avatar

Level 8

You can script it. So on you docReady event put xfa.form["#subform"].locale="en_CA" or "en_US". Or even assign it from a value in an xml element.

Kyle