[GRASS5] i18n for tcltkgrass
Glynn Clements
glynn.clements at virgin.net
Fri May 17 11:39:07 EDT 2002
ser at it-zone.org 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.
> >
> > 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).
>
> Hello Glynn,
> maybe for you internationalisation is not important, but
> for me - essencial. We have to do it with minimal
> difficulties, of course, but if we have to use newer
> Tcl/Tk - we should do it.
Requiring Tcl 8.1+ in order to obtain I18N is reasonable. Changing
tcltkgrass so that it will not run at all without Tcl 8.1+ isn't
reasonable.
Basically, it just means that the implementation method needs to allow
for the case where the "msgcat" package isn't available, e.g. by
providing a stub implementation.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list