Hi Stefan,
Thanks - setting it in /etc/apache2/mod-enabled/fcgid.conf
with
FcgidInitialEnv LC_NUMERIC=de_CH.utf8
worked fine.
I forgot about the separate location for environment variables for
FCGID. It is quite strange that fcgi processes have their own env vars
compared to the rest of Apache - but anyway. It worked.
Thanks again,
Andreas
Am 2014-12-17 16:18, schrieb Ziegler Stefan:
Hi Andi
I have mine (Ubuntu 10.04) in /etc/apache2/mod-enabled/fcgid.conf:
FcgidInitialEnv LANG=de_CH.UTF-8
But this did not work on another Ubuntu 10.04 machine. We had set the
variable per process:
FcgidCmdOptions /opt/wwwroot/cgi-bin/qgis_mapserv.fcgi \
InitialEnv LANG=de_CH \
IOTimeout 180 \
MinProcesses 6 \
MaxProcesses 6
Best regards
Stefan
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:qgis-developer-
[email protected]] Im Auftrag von Andreas Neumann
Gesendet: Mittwoch, 17. Dezember 2014 15:51
An: qgis-developer
Betreff: [Qgis-developer] Localizing QGIS Server
Hi,
I have a minor problem with QGIS Server. When printing, the numeric
scale shows the
thousand separator at the bottom with a comma (",") instead of at the
top, like we use
it normally in Switzerland ("'").
I tried setting the LC_NUMERIC variable to de_CH.utf8, but this did
not help. Do you
know which variable I need to set to influence the display of the
thousand separator in
QGIS?
I did my variable definition in /etc/apache2/mods-enabled/env.conf by
adding the lines
SetEnv LC_NUMERIC "de_CH.utf8"
SetEnv LANGUAGE "de_CH.utf8"
Thank you in advance for any hints!
Andreas
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer