Hi ahaddad,
To achieve this, you can set the Locale for the document based on the data field. The locale is a setting that can affect date, time and currency output. This assumes the value is the proper language code (like “es-pr” or “es”). You can prob prepend your value with “es-” in the Data Mapping configuration.
Here’s how you can set the locale:
- Go to Edit > Locale, which opens the Locale dialog.
- Set “Use” to “Data Field” and select the appropriate data field from the dropdown.
In my example, I used a handlebars expression to inject the formatted date: {{dateLong date}}
. The date is provided as a string in the ISO 8601 Date format.
Erik