podebug(1)

πŸ’– NAME πŸ’–

bestie, meet podebug(1) β€” the little cutie from the Translate Toolkit that inserts debug messages straight into your XLIFF and Gettext PO localization files. it's giving fake-translations-on-purpose energy and honestly? iconic. πŸ›βœ¨


🌈 SYNOPSIS 🌈

podebug [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [-f|--format] [--rewrite STYLE]
[--ignore APPLICATION] [--preserveplaceholders]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the actual lore lives here:

http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/podebug.html

go read it for the examples and usage instructions, bestie β€” that's where the real tea is. πŸ«–πŸ’…


✨ OPTIONS ✨

  • --version β€” show the program's version number and then dip. bye! πŸ‘‹
  • -h/--help β€” show this help message and bounce.
  • --manpage β€” spit out a manpage based on the help. manpage-ception, no cap.
  • --progress β€” how do you want your progress shown? your choices are: dots, none, bar, names, verbose.
  • --errorlevel β€” how dramatic should errors be? pick from: none, message, exception, traceback.
  • -i/--input β€” read from INPUT in po, pot, pot, tmx, xlf, xliff formats. (yes bestie, pot is listed twice in the source β€” it's not me, I promise 😭)
  • -x/--exclude β€” exclude names matching EXCLUDE from the input paths. not you, not invited, blocked. πŸ™…β€β™€οΈ
  • -o/--output β€” write to OUTPUT in po, pot, tmx, xlf, xliff formats.
  • -S/--timestamp β€” skip the conversion if the output file already has a newer timestamp. she said "been there, done that, not doing it again". ⏰
  • -f/--format β€” specify the format string. you're the main character here, you decide.
  • --rewrite β€” the translation rewrite style. literally the fun part. your options: blank, bracket, chef, classified, en, flipped, unicode, xxx. chef?? we love an aesthetic. πŸ‘©β€πŸ³
  • --ignore β€” apply tagging ignore rules for the given application: gtk, kde, libreoffice, mozilla, openoffice.
  • --preserveplaceholders β€” when doing character-level rewrites, this tries to leave alone the characters that are part of placeholders, so the apps consuming your files can still use those placeholders to generate the final output. protecting the girlies that matter. 🫢
heads up bestie: this whole thing exists to shove debug messages into your localization files. it is not your production-ready translated content, ok? it's a bit, it's a vibe, it's for testing. πŸ’€

slay, that's the whole page. πŸ’œ this was podebug(1) from Translate Toolkit version 3.19.5 β€” stream it, use it, tell your friends. mwah. πŸŽ€πŸŒΈπŸ§š

πŸ“¦ where this page comes from