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 inpo,potformats. your source material, bestie.-x/--excludeβ exclude names matching EXCLUDE from the input paths. bye felicia, not today π-o/--outputβ write to OUTPUT intmxformat. 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,typeorothers(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
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms