[GRASS-dev] [GRASS GIS] #2360: grass startup script and wx preference file: language setting in wx does not contain country specific language code
GRASS GIS
trac at osgeo.org
Sun Jul 13 00:06:04 PDT 2014
#2360: grass startup script and wx preference file: language setting in wx does
not contain country specific language code
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: Startup | Version: svn-trunk
Keywords: locale | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by marisn):
I'm not certain that this is solvable at all. The set_language "magic" is
trying to get most out of language override and gives a warning when it
doesn't work. Seems that Python simply prefers "fr_FR" over installed
locales. When writing the "magic", I was testing various ways how it could
work, but, unfortunately, each of them was failing in some other way.
The only solution for fr_BE problem would be to translate GRASS to fr_BE,
as it has been done for pt_BR. Or come up with a cool Python hack to
replace locale.normalize with an in-home version that prefers installed
locales.
As the warning affects only those users requesting language override (this
is not a "normal" use case), I would say the warning is not a problem.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2360#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list