Rechercher une page de manuel
Locale::Msgfmt.3pm
Langue: en
Version: 2009-07-09 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Locale::Msgfmt - Compile .po files to .mo filesSYNOPSIS
This module does the same thing as msgfmt from GNU gettext-tools, except this is pure Perl. The interface is best explained through examples:use Locale::Msgfmt; # compile po/fr.po into po/fr.mo msgfmt({in => "po/fr.po", out => "po/fr.mo"}); # compile po/fr.po into po/fr.mo and include fuzzy translations msgfmt({in => "po/fr.po", out => "po/fr.mo", fuzzy => 1}); # compile all the .po files in the po directory, and write the .mo # files to the po directory msgfmt("po/"); # compile all the .po files in the po directory, and write the .mo # files to the po directory, and include fuzzy translations msgfmt({in => "po/", fuzzy => 1}); # compile all the .po files in the po directory, and write the .mo # files to the output directory, creating the output directory if # it doesn't already exist msgfmt({in => "po/", out => "output/"}); # compile all the .po files in the po directory, and write the .mo # files to the output directory, and include fuzzy translations msgfmt({in => "po/", out => "output/", fuzzy => 1}); # compile po/fr.po into po/fr.mo msgfmt("po/fr.po"); # compile po/fr.po into po/fr.mo and include fuzzy translations msgfmt({in => "po/fr.po", fuzzy => 1});
COPYRIGHT & LICENSE
Copyright 2009 Ryan Niebur, all rights reserved.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre