xliff2po(1)
π xliff2po β like, the manual page, bestie
okay so this is xliff2po(1), and it's your new fave little tool from the Translate Toolkit (version 3.12.1, for the record π). She converts XLIFF localization files into Gettext PO localization files. That's the whole vibe. Let's get into it β¨
πΈ NAME πΈ
xliff2po β converts XLIFF localization files into Gettext PO localization files. Glow-up from one format to the other, no cap π
β¨ SYNOPSIS β¨
xliff2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [-P|--pot] [--duplicates
DUPLICATESTYLE]
like, that's the whole shape of the command. every flag shown, none invented π«Ά
π¦ DESCRIPTION π¦
so the manpage itself is very demure, very mindful about it β it just says:
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/xliff2po.html for examples and usage instructions.
and honestly? go look at it. examples and usage instructions are all in there, periodt π
π OPTIONS π
--versionβ shows the program's version number and then exits. cute little flex, then bye π-h/--helpβ shows you this help message and exits. the classic "help me help you" moment π--manpageβ outputs a manpage based on the help. very meta, honestly iconic π--progressβ picks how progress gets shown to you:dots,none,bar,names,verbose. pick your vibe check β¨--errorlevelβ picks how much error detail you get:none,message,exception,traceback. from "don't perceive it" to "show me everything" π-i/--inputβ reads fromINPUTinxlf,xliffformats. this is where the XLIFF lives, bestie π-x/--excludeβ excludes names matchingEXCLUDEfrom input paths. like a bouncer at the door, but for filenames π-o/--outputβ writes toOUTPUTinpo,potformats. that's the destination, the main character destination π―-S/--timestampβ skips the conversion if the output file has a newer timestamp. not me avoiding work when it's already up to date π΄ ngl it's efficient-P/--potβ outputs PO Templates (.pot) rather than PO files (.po). templates instead of translations, so the translators have a clean slate π--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt'). so the default ismsgctxt, andmergeis the other option β no cap, keep them digits and words exact π₯
β reminder bestie: the default for--duplicatesis'msgctxt'. don't forget the quotes situation, just pass the value π
π§ sign-off π§
and that's the page! brought to you by Translate Toolkit 3.12.1 β she's serving documentation realness, dated with all the relevant manpage energy at the bottom, and she ate. go forth and convert, bestie ππ¦β¨
π¦ where this page comes from
- opensuse-leap 16.0: python313-translate-toolkit 3.12.1-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms