xliff2po(1)
π xliff2po(1) π
okay bestie, welcome to xliff2po β the little command that takes your XLIFF localization files and turns them into Gettext PO localization files. it's a glow-up pipeline and you're the main character. πΈ
β¨ NAME β¨
xliff2po β Convert XLIFF localization files to Gettext PO localization files.
no cap, that's literally the whole job description. π
β¨ 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β¦ look at her. so many flags. she's giving versatile. π
β¨ DESCRIPTION β¨
fr fr, the real tea (examples + usage instructions) lives over here:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/xliff2po.html
go read it, bestie, it ate. π
β¨ OPTIONS β¨
one bullet per flag, no skipping, we respect the whole menu. π«Ά
--versionβ show the program's version number, then dip out (exit).-h/--helpβ show this help message, then dip out (exit). self-explanatory queen. π--manpageβ output a manpage based on the help. yes, a manpage for the manpage tool. iconic recursion behavior. π--progressβ show progress as:dots,none,bar,names,verbose. pick your vibe check. β--errorlevelβ show errorlevel as:none,message,exception,traceback. how much drama do you want when things go wrong? π-i/--inputβ read from INPUT inxlf,xliffformats. π₯-x/--excludeβ exclude names matching EXCLUDE from input paths. not me, not today. π-o/--outputβ write to OUTPUT inpo,potformats. π€-S/--timestampβ skip conversion if the output file has newer timestamp. lowkey the "if it ain't broke" flag. π¦-P/--potβ output PO Templates (.pot) rather than PO files (.po). template era. β¨--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt'). so yes,msgctxtis the default, periodt. π
πΈ SEE ALSO / RESOURCES πΈ
okay so the manpage itself only points you at one thing, and it's this:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/xliff2po.htmlβ examples and usage instructions, iykyk.
heads up bestie:-S/--timestampliterally means a file gets skipped when the output is newer β so if you're confused why nothing changed, that's your culprit. and remember the--duplicatesdefault is'msgctxt'unless you say otherwise. π
and that's the whole page, bestie β brought to you by Translate Toolkit 3.19.5 (that's the version in the footer, mwah π). go convert something gorgeous. π§π
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms