Click to See Complete Forum and Search --> : PHP 4.3.3 setting for locale??
mshen
10-28-2003, 06:06 PM
I test jpgraph with demo program.I get error like this.
http://63.139.84.225/jptest/examples/show-example.php?target=ganttex19.php
I use php4.3.3, jpgraph 1.13 with Apache1.3.27 in win2000.
I do not know how to set locale.do you know that?
Please help me to fix it.
Thanks.
LordShryku
10-28-2003, 09:19 PM
It's setting it here
// Use swedish locale
$graph->scale->SetDateLocale("sv_SE");
You can comment that out to use the default locale, or you could use setlocale (http://www.php.net/setlocale) to do it yourself.
mshen
10-28-2003, 09:39 PM
Please let me know what the "sv_SE' means.
Thanks
mshen
10-28-2003, 09:42 PM
sv_SE (Swedish, as spoken in Sweden).
correct or not?
LordShryku
10-28-2003, 09:48 PM
That's right, but according to the error, it's not supported on the system. Is this your system or a hosted system?
mshen
10-29-2003, 10:26 AM
Hi LordShryku,
This is my system,please let me know how to make the system to support "sv_SE'".
Thanks
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.