[GRASS-SVN] r53044 - grass/branches/releasebranch_6_4/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 1 02:31:51 PDT 2012
Author: neteler
Date: 2012-09-01 02:31:50 -0700 (Sat, 01 Sep 2012)
New Revision: 53044
Modified:
grass/branches/releasebranch_6_4/lib/init/init.bat
Log:
respect LANG setting in grassrc6 on MS-Windows
Modified: grass/branches/releasebranch_6_4/lib/init/init.bat
===================================================================
--- grass/branches/releasebranch_6_4/lib/init/init.bat 2012-09-01 08:34:57 UTC (rev 53043)
+++ grass/branches/releasebranch_6_4/lib/init/init.bat 2012-09-01 09:31:50 UTC (rev 53044)
@@ -89,6 +89,9 @@
rem Now set the real GISRC
FOR /F "usebackq delims==" %%i IN (`g.dirseps -g "%WINGISRC%"`) DO @set GISRC=%%i
+rem Fetch the language setting from user's prefs
+FOR /F "usebackq delims==" %%i IN (`g.gisenv "get=LANG"`) DO @set LANG=%%i
+
rem Set GRASS_GUI
if "%GRASS_GUI%" == "" (
More information about the grass-commit
mailing list