poclean(1)

πŸ“¦ version 3.12.1, in opensuse-leap 16.0

🧼 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 in po, pot, xlf, xliff formats. 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 in po, pot, xlf, xliff formats. 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