NAME

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

SYNOPSIS

use XML::TMX::FromPO;

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

DESCRIPTION

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

METHODS

The following methods are available:

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

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

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.

HISTORY

0.1

Original version; provides methods: new, parse_dir, create_tmx, clean_tmx

SEE ALSO

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

AUTHOR

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

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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 249:

You forgot a '=back' before '=head1'

Around line 253:

You can't have =items (as at line 262) unless the first thing after the =over is an =item