Locale number formatting
Is there any chance to get locale specific number formatting in customer emails? In German for example numbers use a comma ',' instead of a period '.' to separate fractional digits. Its a tiny thing but customers tend to be pedantic about it.
So far I have localized the emails based on a custom meta property included in the customer data and simple if/else switching. I have also refrained from using any number values but there are some places where it is quite relevant.
Thanks in advance
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Drew Songer on 08 Apr, 2016 03:04 PM
Hi Nico,
Internationalization of our email templates is a long term goal of ours. You could probably use one of the Smarty variable modifiers, such as,
string_format
, to alter the number format by locale, but this is obviously not ideal.We are confident that we could build a more formal solution for localized number formatting. We would treat this as accelerated development and would be comfortable splitting some of the costs. A rough estimate of the amount of work is 15 hours. If this interests you, we could put together a proposal for the work to be done.
Best,
Drew
Drew Songer closed this discussion on 09 Jun, 2016 04:05 PM.