- Posts: 34
- Thank you received: 2
Feature request: look up separators by locale
14 years 11 months ago #32415
by hkingman
Feature request: look up separators by locale was created by hkingman
Hi there!
It appears that the currency module, for every kind of currency, just uses "," as the decimal separator and " " as the group separator.
It might be nice if the module could look up the correct separator value based on locale, for example using PHP's localeconv function:
www.php.net/manual/en/function.localeconv.php
From a cursory search, it appears this might not work very well for Windows servers (?). Anyway, there could be some complications supporting Windows and Linux servers both.
But if you could do it, a Hikashop site might look a little better out of the box to international customers.
Kind regards,
-Henry
It appears that the currency module, for every kind of currency, just uses "," as the decimal separator and " " as the group separator.
It might be nice if the module could look up the correct separator value based on locale, for example using PHP's localeconv function:
www.php.net/manual/en/function.localeconv.php
From a cursory search, it appears this might not work very well for Windows servers (?). Anyway, there could be some complications supporting Windows and Linux servers both.
But if you could do it, a Hikashop site might look a little better out of the box to international customers.
Kind regards,
-Henry
Please Log in or Create an account to join the conversation.
14 years 11 months ago #32430
by nicolas
Replied by nicolas on topic Re: Feature request: look up separators by locale
Hi,
You can change the display of prices for each currency by editing them via the menu System->Currencies.
You will find options similar to the locale information which cannot be relied on on all servers.
If you want to share default values for your currencies please do so and we'll set them by default.
You can change the display of prices for each currency by editing them via the menu System->Currencies.
You will find options similar to the locale information which cannot be relied on on all servers.
If you want to share default values for your currencies please do so and we'll set them by default.
Please Log in or Create an account to join the conversation.
Time to create page: 0.039 seconds