SYNOPSIS

   use XML::TMX::FromPO;

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

DESCRIPTION

This module can be used to generate \s-1TMX\s0 files from a group of \s-1PO\s0 files.

METHODS

The following methods are available:

new

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

Creates a new XML::TMX::FromPO object. Please check the \s-1COMMON\s0 \s-1CONFIGURATION\s0 section for details on the options.

rec_get_po

\s-1TODO:\s0 Document method

parse_dir

\s-1TODO:\s0 Document method

create_tmx

\s-1TODO:\s0 Document function

clean_tmx

\s-1TODO:\s0 Document method

COMMON CONFIGURATION

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

\s-1LANG\s0 => '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. 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).

\s-1OUTPUT\s0 => 'x.tmx'

The name of the output file. If none is specified it defaults to the standard output.

\s-1DEBUG\s0 => 1

Activate debugging information. Defaults to 0.

RELATED TO XML::TMX::FromPO…

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

AUTHOR

Paulo Jorge Jesus Silva, <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2003 by Paulo Jorge Jesus Silva

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.