poclean(1)
π§Ό poclean(1) β the un-clean RTF glow-up, bestie
okay so you're on the poclean manual page, part of the Translate Toolkit fam β welcome, pull up a chair π
β¨ NAME β¨
poclean β produces a clean file from an unclean file (Trados/Wordfast) by stripping out the tw4win indicators. that's literally the whole job. she takes out the trash so your file can slay π«Ά
β¨ SYNOPSIS β¨
poclean [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp]
like, that's the shape of it. read it, love it, type it π
β¨ DESCRIPTION β¨
okay so real talk, because this is the part people get wrong every single time: this does not convert an RTF file to PO/XLIFF. not her job, not her problem, she's not doing it π
what she does do is produce the target file β with only the target text in it β from a text version of the RTF. that's the vibe. clean it up, keep the target text, ship it. no cap.
β¨ OPTIONS β¨
--versionβ show the program's version number and exit. quick lil flex, then she's out βοΈ-h/--helpβ show this help message and exit. the classic "help me bestie" button π--manpageβ output a manpage based on the help. yes she can generate her own lore π--progressβ show progress as:dots,none,bar,names,verbose. pick your fave little loading aesthetic β--errorlevelβ show errorlevel as:none,message,exception,traceback. i.e. how much of a whole saga you want when things go sideways π-i/--inputβ read from INPUT inpo,pot,xlf,xliffformats. your raw, messy, un-clean starting point π-x/--excludeβ exclude names matching EXCLUDE from input paths. not them. block that energy π-o/--outputβ write to OUTPUT inpo,pot,xlf,xliffformats. the clean, glowing after-photo β¨-S/--timestampβ skip conversion if the output file has newer timestamp. she checks the clock first, she's not doing redundant work π
like the formats:po,pot,xlf,xliff. in and out. those are the four. don't come for me with anything else π
and that's the page, bestie π written under the Translate Toolkit 3.12.1 banner, same as the footer says β mwah, go clean something π§π
π¦ 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