[Koha-bugs] [Bug 8044] Localization for Perl scripts and modules
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 4 15:25:10 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8044
Frédéric Demians <frederic at tamil.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |ASSIGNED
--- Comment #5 from Frédéric Demians <frederic at tamil.fr> ---
> Not at all. But, looking at the POD on CPAN, it seems that you cannot
> set manually the language you want (except using POSIX::setlocale
> which needs the locale to be installed on the system).
I don't know but I'm confident that forcing language selection is
possible with Locale::TextDomain.
> Have you ever used it?
Yes. Please read this:
http://blogs.perl.org/users/aristotle/2011/04/stop-using-maketext.html
Take a look on that:
https://github.com/fredericd/Koha-Contrib-Tamil/blob/master/lib/Koha/Contrib/Tamil/Sitemaper.pm#L64
and the corresponding translation:
https://github.com/fredericd/Koha-Contrib-Tamil/blob/master/po/fr.po#L90
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list