Query: publican::translate
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Publican::Translate(3pm) User Contributed Perl Documentation Publican::Translate(3pm)NAMEPublican::Translate - Module for manipulating POT and PO files.VERSIONThis document describes Publican::Translate version $VERSIONSYNOPSISuse Publican::Translate; my $po = Publican::Translate->new(); $po->update_pot(); $po->update_po({ langs => 'fr-FR,de-DE' }); $po->update_po({ langs => 'all' }); $po->merge_xml({ lang => 'fr-FR' });DESCRIPTIONCreates, updates and merges POT and PO files for Publican projects.INTERFACEnew Create a new Publican::Translate object. update_pot Update the pot files po2xml Merge XML and PO into a translated XML file. update_po Update the PO files using msgmerge update_po_all Update the PO files for all languages get_msgs Get the strings to translate from an XML::TreeBuilder object merge_msgs Merge translations in to XML translate Replace strings with translated strings. print_msgs Print the translation strings in an XML::TreeBuilder object to a POT file header Returns a valid PO header string. normalise Remove extraneous white space. po_format Format a string for use in a PO file. po_unformat Remove PO formatting from a string. po_report Generate translation statistics for the supplied language.DIAGNOSTICS"unknown args %s" All subs with named parameters will return this error when unexpected named arguments are provided. "%s is a required argument" Any sub with a mandatory parameter will return this error if the parameter is undef.CONFIGURATION AND ENVIRONMENTPublican requires no configuration files or environment variables.DEPENDENCIESCarp version Publican File::Copy::Recursive File::PathINCOMPATIBILITIESNone reported.BUGS AND LIMITATIONSNo bugs have been reported. Please report any bugs or feature requests to "publican-list@redhat.com", or through the web interface at <https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican>.AUTHORJeff Fearn "<jfearn@redhat.com>" perl v5.14.2 2012-06-18 Publican::Translate(3pm)
Related Man Pages |
---|
publican(3pm) - debian |
publican::createbrand(3) - centos |
publican::createbook(3) - centos |
publican::translate(3) - centos |
publican::createbook(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Fedora 9 Update: nessus-libraries-2.2.11-1.fc9 |
Fedora 10 Update: bugzilla-3.2.3-1.fc10 |
Mandriva: nuface |