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}}
)
Hope this helps,
Erik
PS1. Recently described dynamically setting the Locale here:
PS2. Formatting can also be applied via the Scripting API.