ReportingCloud provides fields that are localized automatically based on a culture that can be specified. We just introduced a new property in the MergeSettings object to specify the culture for the merge process.
The endpoint document/merge accepts a MergeBody object in the request body data. This object contains a MergeSettings object to adjust several settings for the merge process. The new property culture accepts a string that specifies the culture for the merge process for date and currency values. It must be the Language Culture Name that can be found in this list:
For example: For French use "fr-FR", for German "de-DE". Default is English "en-US".
|Key||Value Type||Value description|
|culture||String||Optional. Specifies the culture for the merge process for date and currency values.|
Consider a merge field in an invoice that shows the price of a product.
This field should be formatted as a currency field which is done by setting a C to the Numeric Format option:
When merging this field with culture set to "de-DE", you will get a € currency symbol. If set to "en-US", you will get a $ currency symbol. The same is valid for the language of long date field formats: