[rt-users] Translation
Jesse
jesse at fsck.com
Wed May 24 12:13:03 EDT 2000
Well, actually, there was an article in TPJ about localisation
explaining all the reasons the at gettext is broken. The author proposed
and implemented a cool new system called Locale::Maketext that appears
a good deal more flexible.
jesse
On Wed, May 24, 2000 at 05:03:05PM +0100, Anil Madhavapeddy wrote:
> Jesse wrote:
> > Someone who has the time and the interest really needs to look
> > into what we need to do in order to build a translation framework for RT2.
> > Tobias and I have poked at a few things and are trying to desing RT2
> > to not make translation impossible. But the sooner someone starts
> > on building the translation framework, the better.
> >
>
> I'd say GNU gettext is your friend for this:
>
> Have a look at the perl bindings for it on CPAN:
> http://search.cpan.org/doc/PVANDRY/gettext-1.01/README
>
> All it really involves is wrapping all of your text calls
> with a gettext(),
>
> so instead of
>
> print "Please enter your username and password\n";
>
> you would have
>
> print gettext("Please enter your username and password")."\n";
>
> More details in that URL.
>
> --
> Anil Madhavapeddy, <anil at recoil.org>
>
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
--
jesse reed vincent --- root at eruditorum.org --- jesse at fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
-------------------------------------------------------------
...realized that the entire structure of the net could be changed to be made
more efficient, elegant, and spontaneously make more money for everyone
involved. It's a marvelously simple diagram, but this form doesn't have a way
for me to draw it. It'll wait. -Adam Hirsch
More information about the rt-users
mailing list