XML::TMX::FromPO(3pm)

πŸ“¦
version 0.39 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– XML::TMX::FromPO πŸ’–

okay so bestie, welcome to XML::TMX::FromPO(3pm) β€” that's the Perl manual page name, and honestly it's serving exactly what it says on the tin. This is a little module that takes a whole group of PO files and turns them into a TMX file. Translation-nerd core, no cap. ✨

🌸 VERSION 🌸

version 0.39 β€” she's got a version number, she's official.

πŸ¦‹ SYNOPSIS πŸ¦‹

Like, here's the vibe in code form:

use XML::TMX::FromPO;

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

That's it. That's the whole entrance. πŸŽ€

🫢 DESCRIPTION 🫢

This module can be used to generate TMX files from a group of PO files. That's the whole job. That's her main character energy. She takes many PO, she gives you one TMX. Iconic behaviour honestly. πŸ’…

⭐ METHODS ⭐

The following methods are available β€” here's the whole roster, and yes, some of them are literally undocumented, we don't gatekeep:

✨ new

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

Creates a new XML::TMX::FromPO object. If you wanna know what options you can hand her, go check the COMMON CONFIGURATION section below, bestie, that's where the tea is. πŸ“

πŸ™ˆ rec_get_po

TODO: Document method

(yes girl, that's literally all it says. we're not gonna pretend otherwise. 😭)

🧚 parse_dir

TODO: Document method

πŸ”₯ create_tmx

TODO: Document function

(she said function not method here, and I'm just relaying that, don't @ me πŸ’€)

πŸ‘‘ clean_tmx

TODO: Document method


🌈 COMMON CONFIGURATION 🌈

These configuration options can be passed to all methods in the module. All of them. Every single one. Periodt.

  • LANG => 'list' β€” A case insensitive list of regular expressions 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 containing the command to convert a file (%f) from some charset (%t) to Unicode. If none is specified, the module tries to use recode(1) first; if that fails, 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.
⚠️ heads up bestie: DEBUG is OFF by default, so if you're staring at silence wondering where the logs are β€” she's not being shy, you just didn't turn it on. πŸ’œ

πŸ’€ SEE ALSO πŸ’€

Go read these too, they're the friend group:

πŸŽ€ CONTRIBUTORS πŸŽ€

Paulo Jorge Jesus Silva, <paulojjs@bragatel.pt> β€” contributing, as one does. 🫢

✨ AUTHORS ✨

  • Alberto SimΓ΅es <ambs@cpan.org>
  • JosΓ© JoΓ£o Almeida <jj@di.uminho.pt>

This software is copyright (c) 2010-2017 by Projeto Natura <natura@di.uminho.pt>.

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


and that's the whole page, babes πŸ¦‹ β€” documented as perl v5.38.2, dated 2024-03-09, and it lives in the XML::TMX::FromPO(3pm) manpage. slay, go convert something. πŸ’…βœ¨

πŸ“¦ where this page comes from