Re: More i18n of the base system : perl scripts
Le Thu, Feb 11, 1999 at 05:47:13PM -0500, Adam Di Carlo écrivait:
> Well, if the idea is to integrate POSIX.pm into perl-base, then the
> issue of the priority of this temporary package isn't really all that
> relevant, since it would just go away. Given this, I would say
> priority 'optional' (removing required packages is evil).
No, to internationalize a perl script you need to add this
in your script :
setlocale(LC_MESSAGES, ""); # => provided by POSIX.pm
textdomain("your_domain"); # => provided by liblocale-gettext.pm
print gettext("Text that can be translated"); # => provided by liblocale...
That's why a internationalized script has to depend on liblocale-gettext-perl.
And I'd like to translate adduser and other scripts like that, so it needs
to be of priority required.
> Yes; I would discuss with the perl-base maintainer first; I don't have
> the technical info on Perl to really know how reasonable your plan is.
I asked him todo so, he didn't have any objections, he was just wondering
about the size of POSIX.pm and associated files.
cf bug #33194
Raphaël Hertzog >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/