oo2xliff(1)
π oo2xliff β bestie edition π
ok so like, oo2xliff is a Translate Toolkit command (we're on version 3.19.5 btw, iconic) and what it does is convert an OpenOffice.org (SDF) localization file into XLIFF localization files. no cap. it's giving translator-girlboss. π
β¨ SYNOPSIS β¨
oo2xliff [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [-l|--language LANG] [--source-
language LANG] [--nonrecursiveinput] [--duplicates DUPLICATESTYLE]
[--multifile MULTIFILESTYLE]
likeβ¦ that's the whole vibe. one command, a million little flags, and every single one of them matters bestie, don't skip any of them π§
πΈ DESCRIPTION πΈ
okay so the docs said, and I quote: go look at
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html
for examples and usage instructions. that's where the receipts live, bestie β examples AND usage instructions, both of them, at that exact URL. π«Ά
π OPTIONS π
here's the full lineup, no skips, no summaries, we stan completeness:
--versionβ show the program's version number and then exit. bye bestie π-h/--helpβ show this help message and then exit. the classic.--manpageβ outputs a manpage based on the help. meta af. π--progressβ shows progress as one of:dots,none,bar,names,verbose. pick your aesthetic β¨--errorlevelβ shows errorlevel as one of:none,message,exception,traceback. more words = more π«£-i/--inputβ read fromINPUTinoo,sdfformats-x/--excludeβ exclude names matchingEXCLUDEfrom input paths. not in my house π-o/--outputβ write toOUTPUTinxlf,xliffformats-S/--timestampβ skip conversion if the output file has a newer timestamp. skip it, she's already up to date π-l/--languageβ set target language to extract from theoofile (e.g.af-ZA) π--source-languageβ set source language code (defaulten-US)--nonrecursiveinputβ don't treat the inputooas a recursive store--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt')--multifileβ how to split po/pot files (single,topleveloronefile)
side note bestie:--duplicatesdefaults to'msgctxt', and that default is literally quoted like that in the OG manpage. keep it exact, she's sensitive. also--multifilegives you three choices and yes,onefileis two words, don't fight it. π
π that's the whole thing, slay
every flag, every value, every default, preserved. periodt. β¨π¦
shoutout to the Translate Toolkit, version 3.19.5 β she wrote this manpage, she's the main character, and this page is dated right there with her alongside oo2xliff(1). mwah, tysm for reading, ily, go translate 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