libintl-perl - Uniforum Message Translation for Perl

1 About
2 Download
3 Installation
4 Documentation
5 Show Your Gratitude

1 About

libintl-perl provides Uniforum message translation for Perl. It is the de-facto standard for internationalization (i18n) and localization (l10n) of software written in Perl. Its main features are:

The current version of libintl-perl is 1.18.

2 Download

2.1 CPAN

You can download libintl-perl version 1.18 from CPAN: http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-1.18.tar.gz.

2.2 CVS

You can checkout the latest development sources of libintl-perl by anonymous CVS with an empty password:

$ cvs -d:pserver:anonymous@cvs.guido-flohr.net:/home/cvsroot/perl checkout libintl-perl

3 Installation

3.1 Pre-compiled packages

Pre-compiled packages of libintl-perl are available for a lot of systems:

Most other systems will also provide pre-compiled packages of libintl-perl. Try to search for either "libintl-perl" or "perl-libintl-perl" in your local package manager.

3.2 CPAN

Try the CPAN module of Perl:

perl -MCPAN -e "install Locale::Messages"

3.3 Make (from sources)

You can use the usual plethora of Perl installation commands. Download the sources, untar them, change to the top-level directory and:

perl Makefile.PL
make test
make install

3.4 Manual install

If all of the above fails, you can still install libintl-perl manually. First download the sources, and unpack them. Change into that directory. Next, you have to determine where to install Perl modules:

perl -MConfig -e "print Config::config_vars('installsitelib')"

This will print out a path on your system, where Perl expects library modules.

In your source directory, you will find a directory "lib". Inside of "lib" there is another directory "Locale". Copy that directory to the location indicated by the above command, and libintl-perl is installed.

4 Documentation


The README file of libintl-perl is available online here: http://cpansearch.perl.org/src/GUIDO/libintl-perl-1.18/READM longdesc="http://jigsaw.w3.org/css-validator/" />


4.2 Locale::TextDomain

The POD for Locale::TextDomain is a good starting point. You can read it online here: http://search.cpan.org/~guido/libintl-perl/lib/Locale/TextDomain.pm.

Sample Application

4.3 Sample Application

libintl-perl ships with a sample application that you can use as a skeleton for your own projects. The README files of that sample application describes the complete process for localizing existing or new Perl applications. The sample application is contained in the "sample" directory of the sources, or you can browse all files online under http://cpansearch.perl.org/src/GUIDO/libintl-perl-1.18/sample/README.

Show Your Gratitude

You like libintl-perl? You want to show your gratitude? Thanks a lot. You can do one or more of the following things:

5.1 Use It!

Use libintl-perl in your own projects, and tell me about it.

5.2 Send a Barfbag

I am a passionate collector of barfbags (also know as airsickness bags). Smart as you are, you have already guessed that I prefer unused ones. You can prove your frequent flyer status and express your thanks for libintl-perl by sending me a bunch of barfbags to the address in this site's imprint.

5.3 Rate or Review libintl-perl

You can rate or review libintl-perl for example here:

5.4 Ohloh Kudos

You an also fill up my kudo account on ohloh.net. Here is my page: https://www.ohloh.net/accounts/gflohr.

Home | Imprint/Impressum (maybe required by German law)