Quote:
|
Originally Posted by falko
We're using the sprintf() function to format the prices, so it should show the correct formatting for you...  If you like you can take a look at the scripts in /home/admispconfig/ispconfig/web/isp_fakt/abrechnung.
|
Ok, according to my research, before you use sprintf(), you have the option to either use the variable set in the operating system OR you can set it in the code.
I believe that you are not using my system's configured locale. I read that you must use the OS settings or your own settings. In other words, the option to do nothing does not seem to be one of the options. If you do nothing, I don't know what sort of locales you end up with.
# locale
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Shouldn't you be doing a setlocale() somewhere in the code? I don't see it. Is it possible this is the problem?
Because a web server might be built by an ISP on one country, while a e-commerce site might be installed on it by a customer in a different country, it seems logical that this *should* be set with the software, and not taken from the OS.
Recent comments
13 hours 50 min ago
18 hours 48 min ago
20 hours 15 min ago
21 hours 8 min ago
22 hours 51 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 19 hours ago
1 day 21 hours ago