[GRASS5] i18n for tcltkgrass

ser at it-zone.org ser at it-zone.org
Fri May 17 11:24:09 EDT 2002


--->[Quoting Bernhard Reiter <bernhard at intevation.de>:]

> On  Fri,  May  17,  2002  at  02:09:16PM  +0100,  Glynn
> Clements wrote:
>
> > Alex Shevlakov wrote:
> >
> > > I'd  like to  attempt making  permanent changes  to
> > > tcltk  scripts  (especially,  tcltkgrass)  code  in
> > > order to internationalize them.  As much as I know,
> > > there is  a Tcl built-in 'msgcat'  command allowing
> > > to internationalize messages.
> >
> > AFAICT,  the msgcat  package  was added  in Tcl  8.1;
> > versions prior to that won't have it.
>
> Alex: What  other possible  drawbacks of  your solution
> can you think of?
>
> > Personally,  I don't  think that  it's reasonable  to
> > require 8.1+ in order to use tcltkgrass. Instead, any
> > changes should be made in  such a way that tcltkgrass
> > continues to work with  older versions of Tcl (albeit
> > without I18N).
>
> I agree.  Somehow we  must make  sure that  GRASS still
> works with older  tcltk version. This does  not mean we
> do not want internationalisation,  we just have to find
> a way to implement it.
>
> Without knowing  much about  it: Could  a preprocessing
> step  be  used to  prepare  the  tcltk script  for  the
> different tcltk version? Thus  it might just remove the
> internatiolisation code  for people not wanting  out or
> not having the modern tcltk version.

I  do not  agree.  Upgrading Tcl/Tk  is  one minute  job.

Your proposition  requires special  procedures, branching
developement  tree,   special  configure   options,  etc.
Progress in  software sorrounded  grass is  certainty, we
cannot go against the stream, beacause we go to nowhere.

-- 
      http://ibiblio.org/ser/ | http://it-zone.org/ 
_________________________________________________________
tldp.org|gnu.org|hyperreal.info|pld-linux.org|it-zone.org
  "The moon is made of green cheese." -- John Heywood



More information about the grass-dev mailing list