[Cartoweb-users] Internationalization
Oliver Christen
oliver.christen at camptocamp.com
Fri Dec 10 07:58:40 EST 2010
thanks for investigating and finding a solution.
it's a bit strange though as the php documentation say about setlocale :
"If locale is NULL or the empty string "", the locale names will be set from
the values of environment variables with the same names as the above
categories, or from "LANG". "
so the putenv should be enough to provide the LANG to the default behaviour
of setlocal.
I wonder why that default mechanism isnt working in your case ?
regards
Oliver
> Dear all,
>
> at last I found a solution for the problem. In Internationalization.php
> look for
> (around line 200):
>
> putenv('LANG=' . LANG);
> setlocale(LC_ALL,'');
>
> and change the setlocale... to setlocale(LC_ALL, LANG);
>
> regards,
> Stefan
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list