[from translations list]
Hi,
there are problems with the Helvetica Tcl font for Vietnamese,
maybe also other languages.
Helvetica is hardcoded in a couple of places:
find . -type f -follow -name "*.tcl" -exec grep -l Helvetica {} \;
./epsg_start/gis_set.tcl
./lib/gtcltk/options.tcl
./lib/init/help.tcl
./lib/init/gis_set.tcl
./visualization/nviz/html/help.tcl
./visualization/nviz/scripts/panel_scale.tcl
./visualization/nviz/scripts/panel_label.tcl
./gui/tcltk/gis.m/tksys.tcl
./gui/tcltk/d.m/tksys.tcl
I wonder if we could change that to a single global
setting in a extra file so that user do not have to browse
the entire source code to change the Tcl font.
But my Tcl skills aren't sufficient to implement that...
Markus
On Wed, Sep 20, 2006 at 12:19:44PM +0100, Mystus vittatus wrote:
Hi
If you want to display Vietnamese properly, then please change the Default
font in options.tcl from Helvetica to Verdana or Arial. Otherwise many
words is displayed wrongly.
Cheers
Bui Huu manh
Markus Neteler <neteler@itc.it> wrote:
On Wed, Sep 20, 2006 at 10:08:07AM +0200, Markus Neteler wrote:
> Hi Bui Huu Manh
>
> On Wed, Sep 20, 2006 at 06:59:42AM +0100, Mystus vittatus wrote:
> > Hi Markus
> > Attached to this mail is the translation of 3 po files of GRASS
6.2.0beta2
> > into Vietnamese. It's a quite completed translation, only very few
> > messages left or the ones which don't need translation like Raster,
> > Vector.... The translation is done in gedit, and I have compiled
GRASS
> > with nls option to check. Generally it's ok (you can see some issues
> > below).
>
> thanks a lot - I have uploaded the files to 6.2.0-release branch and
> 6.3-CVS.
I just made a quick test:
export LANG=vi_VI
export LANGUAGE=vi_VI
export LC_ALL=vi_VI
grass63
Really great (it will work in 6.2 as well) - congrats!
Markus
We should be able to set most of this from the options database
(options.tcl). Currently, as your list shows, the gism fonts are set from
there. We should be able to set the rest too. There is an options database
for nviz that I've started to work with a bit. This should fix that part.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Markus Neteler <neteler@itc.it>
Date: Wed, 20 Sep 2006 13:28:37 +0200
To: GRASS developers list <grass-dev@grass.itc.it>
Cc: Mystus vittatus <mystusvittatus@yahoo.co.uk>
Subject: [GRASS-dev] Tcl font settings issue
[from translations list]
Hi,
there are problems with the Helvetica Tcl font for Vietnamese,
maybe also other languages.
Helvetica is hardcoded in a couple of places:
find . -type f -follow -name "*.tcl" -exec grep -l Helvetica {} \;
./epsg_start/gis_set.tcl
./lib/gtcltk/options.tcl
./lib/init/help.tcl
./lib/init/gis_set.tcl
./visualization/nviz/html/help.tcl
./visualization/nviz/scripts/panel_scale.tcl
./visualization/nviz/scripts/panel_label.tcl
./gui/tcltk/gis.m/tksys.tcl
./gui/tcltk/d.m/tksys.tcl
I wonder if we could change that to a single global
setting in a extra file so that user do not have to browse
the entire source code to change the Tcl font.
But my Tcl skills aren't sufficient to implement that...
Markus
On Wed, Sep 20, 2006 at 12:19:44PM +0100, Mystus vittatus wrote:
Hi
If you want to display Vietnamese properly, then please change the Default
font in options.tcl from Helvetica to Verdana or Arial. Otherwise many
words is displayed wrongly.
Cheers
Bui Huu manh
Markus Neteler <neteler@itc.it> wrote:
On Wed, Sep 20, 2006 at 10:08:07AM +0200, Markus Neteler wrote:
Hi Bui Huu Manh
On Wed, Sep 20, 2006 at 06:59:42AM +0100, Mystus vittatus wrote:
Hi Markus
Attached to this mail is the translation of 3 po files of GRASS
6.2.0beta2
into Vietnamese. It's a quite completed translation, only very few
messages left or the ones which don't need translation like Raster,
Vector.... The translation is done in gedit, and I have compiled
GRASS
with nls option to check. Generally it's ok (you can see some issues
below).
thanks a lot - I have uploaded the files to 6.2.0-release branch and
6.3-CVS.
I just made a quick test:
export LANG=vi_VI
export LANGUAGE=vi_VI
export LC_ALL=vi_VI
grass63
Really great (it will work in 6.2 as well) - congrats!
Markus
Michael,
if you/someone could tell me how to do it for
./lib/init/gis_set.tcl
and I can try for the other files?
thanks
Markus
Michael Barton wrote on 09/20/2006 08:26 PM:
We should be able to set most of this from the options database
(options.tcl). Currently, as your list shows, the gism fonts are set from
there. We should be able to set the rest too. There is an options database
for nviz that I've started to work with a bit. This should fix that part.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Markus Neteler <neteler@itc.it>
Date: Wed, 20 Sep 2006 13:28:37 +0200
To: GRASS developers list <grass-dev@grass.itc.it>
Cc: Mystus vittatus <mystusvittatus@yahoo.co.uk>
Subject: [GRASS-dev] Tcl font settings issue
[from translations list]
Hi,
there are problems with the Helvetica Tcl font for Vietnamese,
maybe also other languages.
Helvetica is hardcoded in a couple of places:
find . -type f -follow -name "*.tcl" -exec grep -l Helvetica {} \;
./epsg_start/gis_set.tcl
./lib/gtcltk/options.tcl
./lib/init/help.tcl
./lib/init/gis_set.tcl
./visualization/nviz/html/help.tcl
./visualization/nviz/scripts/panel_scale.tcl
./visualization/nviz/scripts/panel_label.tcl
./gui/tcltk/gis.m/tksys.tcl
./gui/tcltk/d.m/tksys.tcl
I wonder if we could change that to a single global
setting in a extra file so that user do not have to browse
the entire source code to change the Tcl font.
But my Tcl skills aren't sufficient to implement that...
Markus
hi,
the TclTk font issue is fixed and backported to 6.2.
I'll prepare a new 6.2.0RC1 asap.
The fonts are now defined in a single file:
$GISBASE/etc/gtcltk/options.tcl
which should be easy to adapt for a font change.
It's fixed for the GRASS startup screen, the GUI and gis.m
Thanks to Michael Barton for implementing it in 6.3-CVS-HEAD.
Cheers
Markus
On Wed, Sep 20, 2006 at 01:28:37PM +0200, Markus Neteler wrote:
[from translations list]
Hi,
there are problems with the Helvetica Tcl font for Vietnamese,
maybe also other languages.
Helvetica is hardcoded in a couple of places:
[...]
Hi all
This is good. Thanks everybody. This will help users easier to choose the font for the GUI. Great!
Best regards
Manh
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.