logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XML::TMX::FromPO - Generates a TMX file from a group of PO files

Authors

       •   Alberto Simões <ambs@cpan.org>

       •   José João Almeida <jj@di.uminho.pt>

Common Configuration

       These configuration options can be passed to all methods in the module:

       LANG => 'list'
           A  case  insensitive list of regular expression separated by whitespaces that matches the code of the
           languages that are to be processed.  Defaults to all.

       CONVERT => 'iconv -f %t -t utf8 < %f'
           A string that contains the command to convert a file (%f) from some charset (%t) to Unicode. If  none
           is specified, the module tries to use recode(1), if it fails then the module defaults to iconv(1).

       OUTPUT => 'x.tmx'
           The name of the output file. If none is specified it defaults to the standard output.

       DEBUG => 1
           Activate debugging information. Defaults to 0.

Contributors

       Paulo Jorge Jesus Silva, <paulojjs@bragatel.pt>

Description

       This module can be used to generate TMX files from a group of PO files.

Methods

       The following methods are available:

   new
         $tmx = new XML::TMX::FromPO();

       Creates a new XML::TMX::FromPO object. Please check the COMMON CONFIGURATION section for details on the
       options.

   rec_get_po
       TODO: Document method

   parse_dir
       TODO: Document method

   create_tmx
       TODO: Document function

   clean_tmx
       TODO: Document method

Name

       XML::TMX::FromPO - Generates a TMX file from a group of PO files

See Also

XML::TMX::Writer(3), gettext(1), recode(1), iconv(1)

Synopsis

          use XML::TMX::FromPO;

          my $conv = new XML::TMX::FromPO(OUTPUT => '%f.tmx');

Version

       version 0.39

See Also