po2tmx(1)

πŸ’– po2tmx(1) β€” the girlies are converting PO files to TMX now πŸ’–

okay so bestie, you know how we've been out here translating everything and living our best bilingual lives? yeah. this is the part where we fold all that gorgeous gettext PO work into a big shiny Translation Memory. it's a manual page for po2tmx, she's from the Translate Toolkit, and she ate. no crumbs. 🫢


✨ SYNOPSIS ✨

po2tmx [--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] [--comments]

like, that's the whole vibe in one breath. every flag, exactly as written, don't come for me πŸ’…


🌸 DESCRIPTION 🌸

so basically, this is the glow-up machine: it takes your Gettext PO localization files and turns them into a TMX (Translation Memory eXchange) file. iconic behaviour, tbh.

and if you want the full tea β€” examples, usage instructions, the whole tutorial arc β€” it's over here:

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

go, read, slay. not me sending you a link like a school assignment but honestly it's worth it πŸ¦‹


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, nothing skipped, because we do not skip details in this house:

  • --version β€” prints the program's version number and dips. cute, quick, done.
  • -h/--help β€” shows this help message, then exits. the "wait what" button.
  • --manpage β€” spits out a manpage built from the help output. meta? kinda. yes.
  • --progress β€” shows progress as one of: dots, none, bar, names, verbose. pick your aesthetic, there's literally one for every mood. πŸ’«
  • --errorlevel β€” shows errorlevel as one of: none, message, exception, traceback. lowkey to highkey panic, your call.
  • -i/--input β€” read from INPUT in po, pot formats. your source material, bestie.
  • -x/--exclude β€” exclude names matching EXCLUDE from the input paths. bye felicia, not today πŸ™ˆ
  • -o/--output β€” write to OUTPUT in tmx format. the destination. the moment. the TMX. ✨
  • -S/--timestamp β€” skip the conversion if the output file already has a newer timestamp. it's giving "girl, we already did this one" πŸ’€
  • -l/--language β€” set the target language code (e.g. af-ZA). [required] β€” like, actually required, not the cute optional kind. don't forget her or she'll be so upset. 😭
  • --source-language β€” set the source language code (default: en). defaults to English, because of course it does.
  • --comments β€” set the default comment import: none, source, type or others (default: none). comment mood ring, pick one. πŸŽ€
⚠️ ok real talk bestie, do not forget -l/--language. it's marked [required] and it is not playing. the vibes will not save you on this one.

and that's the whole page, we ate and left no crumbs. πŸ“ this little love letter is from Translate Toolkit 3.19.5 (no date on the page, so I'm just blowing you a kiss instead πŸ’œ). now go convert something, main character. periodt. 🌈

πŸ“¦ where this page comes from