Feature request: look up separators by locale

  • Posts: 32
  • Thank you received: 1
  • Hikashop Business
12 years 4 months ago #32415

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

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 4 months ago #32430

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum