pot2po(1)

✨ NAME ✨

pot2po β€” okay bestie, this is the icon that takes your template files (think .pot files or template .xlf files) and turns them into translation files, and the way it does it is it preserves your existing translations. like, it does NOT make you redo work you already did. main character energy fr fr πŸ’–


🌸 SYNOPSIS 🌸

pot2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-P|--pot] [--tm] [-s|--similarity] [--nofuzzymatching]

πŸ’– DESCRIPTION πŸ’–

so if you want the whole story β€” examples, usage instructions, the full lore β€” go peek at:

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

that's literally where the examples and usage instructions live πŸ’…


πŸ’… OPTIONS πŸ’…

  • --version β€” shows the program's version number and then dips out, exit stage left ✨
  • -h/--help β€” prints this help message and then leaves, no cap
  • --manpage β€” spits out a whole manpage built from the help πŸ‘‘
  • --progress β€” pick how you wanna see the progress, your options are: dots, none, bar, names, verbose β€” choose your fighter πŸŽ€
  • --errorlevel β€” sets the errorlevel, options being: none, message, exception, traceback β€” like how dramatic do you want the errors to be
  • -i/--input β€” reads from INPUT, and INPUT can be in catkeys, lang, pot, ts, xlf, xliff formats πŸ¦‹
  • -x/--exclude β€” yeets any names matching EXCLUDE out of the input paths, bye girl πŸ’€
  • -o/--output β€” writes to OUTPUT, in catkeys, lang, po, pot, ts, xlf, xliff formats πŸ’–
  • -t/--template β€” reads from TEMPLATE, in catkeys, lang, po, pot, ts, xlf, xliff formats 🌸
  • -S/--timestamp β€” skips the whole conversion if the output file already has a newer timestamp, like it said "already handled, love u" ✨
  • -P/--pot β€” outputs PO Templates (.pot) instead of PO files (.po) β€” plot twist 🌈
  • --tm β€” the file to use as translation memory when fuzzy matching 🧠✨
  • -s/--similarity β€” the minimum similarity needed for inclusion (default: 75%) β€” so picky, and honestly? valid πŸ’…
  • --nofuzzymatching β€” disables fuzzy matching entirely, none of that, we're done here πŸ™ˆ

and that's the whole page, bestie 🫢 this was pot2po(1) from Translate Toolkit 3.19.5, and yeah the version is right there in the name so you know it's the real one ⭐ go forth and convert those templates, you absolute legend πŸ’œ

πŸ“¦ where this page comes from