Hello, is there an easy way to convert number/currency formats to different language standards without a complex script? Specifically I’m looking for something to go from English and French. Example is below:
$1,234,567 → 1 234 567 $
$1,000 → 1 000 $
I’m looking to do this in the designer template, but will do it in the datamapper if needed.
This is achieved by setting the Locale for the document (choose Edit > Locale), this handles formatting for numbers (including currencies) and dates. You can set a specific local or use one provided via the data (as described in the linked post).
The following screenshot shows the Locale dialog (set to fr-FR). I used an expression with the “currency” helper to apply the currency format to the “price” data field ({{currency price}})