ReportingCloud: Setting the Culture for Date and Currency Fields
We just released a new property to define the culture for the merge process to handle date and currency field values.

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:
Table of Language Culture Names
For example: For French use "fr-FR", for German "de-DE". Default is English "en-US".
https://api.reporting.cloud/v1/document/merge
MergeSettings
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:
Happy coding!
Cloud
Are we moving to the cloud? This question is changing from "if" to "when" and "how". Text Control ReportingCloud brings complete reporting functionality to the cloud so all developers can use it, irrespective of the platform or language they're using. Its highly RESTful API can be used to merge Microsoft Word compatible templates with JSON data from all clients including .NET, Javascript, PHP, Node.JS, jQuery, Ruby, Python, Android, Java and iOS.
Related Posts
ReportingCloud Monthly Payment Available
We just released ReportingCloud monthly subscriptions that will be auto-renewed, if not cancelled.
Visit Text Control at BASTA! 2017
Next week, we are exhibiting at the 20th anniversary edition of BASTA!, one of the largest .NET focused developer conferences in Germany.
More Impressions from DWX Developer Week 2017
The DWX Developer Week 2017 was a huge success. We really enjoyed the powerful atmosphere talking to so many enthusiastic developers about our products, technologies and services. On the last day,…
DWX Developer Week 2017: First Impressions
We are currently exhibiting at Germany's largest conference: DWX Developer Week. We are giving away our Text Control yo-yos, raffling off an XBox One and talking about our reporting libraries, our…
NDC Oslo 2017 Impressions: Part II
Last week, we exhibited at NDC Oslo 2017 - a fantastic event. We would like to say thank you to all attendees who stopped by our booth to talk about our products and services. It was a lot of fun…