[GRASS-DEV] Tcl translation locale Makefile

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

(attachments)

localeMakefile.diff (1.13 KB)