I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).
If you are new here, please see some information on how to ask for support. Thank you!
-
AnonymousInactive
It seems the following wp function found at https://codex.wordpress.org/Function_Reference/number_format_i18n would do the European formatting trick:
<?php number_format_i18n( $number, $decimals ); ?>
But I’m not sure where I can use it so it is not overwritten by wallet updates.
AnonymousInactive
Solved the symbol issue by utilizing filters as per PDF page 30. Still have to find out how to change to the European format.
Hello,
Thank you. You bring a valid point.
As you found out, you can modify the symbol using the filter under “Frontend -> JSON API filters -> Amounts pattern” in the manual. This is an sprintf
pattern that is used both on the server side and client side to format patterns.
It is not possible to use this pattern to set the decimals separator and thousands separator.
Ultimately this is not something that you should have to do. I will have to investigate how to make the plugin respect the regional settings of the current locale. This is likely not going to be easy, as many things need to change throughout the plugin.
I will report any progress on this thread.
with regards
- You must be logged in to reply to this topic.