You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a shop that sells to EU countries. All of the EU countries use the same number format: 1.150,00 €
My main website is in German (locale: de), but I want to add an english translation (locale: en) for all other countries. By doing that, the number format now changes to €1,150.00 which is a number format no one would ever use.
How can I set the the format to be e.g. german for the english locale?
I assume that this will create new Intl.NumberFormat('de', numberFormats); and new Intl.NumberFormat('en', numberFormats); but the en one I want to replace with also 'de'.
Clear and concise description of the problem
I have a shop that sells to EU countries. All of the EU countries use the same number format:
1.150,00 €
My main website is in German (locale: de), but I want to add an english translation (locale: en) for all other countries. By doing that, the number format now changes to
€1,150.00
which is a number format no one would ever use.How can I set the the format to be e.g. german for the english locale?
My current config:
I assume that this will create
new Intl.NumberFormat('de', numberFormats);
andnew Intl.NumberFormat('en', numberFormats);
but the en one I want to replace with also 'de'.Suggested solution
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: