[GRASS-dev] Tcl translation locale Makefile

Cedric Shock cedricgrass at shockfamily.net
Thu May 4 13:37:56 EDT 2006


[Sorry if this is doubled; it didn't seem to work to grass5]

Markus,

I've edited the locale makefile to pull out translatable strings from tcl 
code. (A diff is attached). I've also made small changes on the tcl side to 
support both our current but untranslated format and the standard format. My 
changes to the makefile only go as far as to merge the "pot" into the "po".

I need to make tcl's msgcat format .msg files and put them into 
$(GISBASE)/etc/msgs/.

These files can be made with the command, for example:
msgfmt --statistics --tcl -l pt_br -d ./ grasstcl_pt_br.po

Which makes ./pt_br.msg in the current directory. (The directory is the -d 
switch) It, for example, would need to be installed as 
$(GISBASE)/etc/msgs/pt_br.msg.

I just can't finish this off. I'm not really comfortable with Makefiles and I 
don't have a start on any translation to work with.

Thanks for your help,

--Cedric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localeMakefile.diff
Type: text/x-diff
Size: 1157 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060504/9233c0f8/localeMakefile.bin


More information about the grass-dev mailing list