po2sub(1)
π po2sub β the manual, but make it make sense
okay bestie, so po2sub is a Translate Toolkit era classic β it's the little command that takes your Gettext PO localization files and turns them into subtitle files. yes. subtitles. the glow-up from translation strings to on-screen dialogue. iconic behavior honestly. π
β¨ NAME β¨
po2sub β Convert Gettext PO localization files to subtitle files.
like. that's it. that's the whole job description and she does it flawlessly. π
π¦ SYNOPSIS π¦
po2sub [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[--threshold PERCENT] [--fuzzy] [--nofuzzy]
look at her. a whole bouquet of flags. we're gonna go through every single one, no skipping, no skimming. periodt. πΈ
π DESCRIPTION π
So here's the tea, and I mean this literally: the actual examples and usage instructions live over at:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/sub2po.html
that's the place. go read it. it's giving "the real manual is elsewhere" but we still gotta do our due diligence here, so. π
π OPTIONS π
every flag, every single one, accounted for. no option left behind. π«Ά
--versionβ show the program's version number and then dip. exit stage left. byee.-h/--helpβ show this help message and exit. your classic "help me pls" button.--manpageβ output a manpage based on the help. meta. recursive. we love a self-aware queen. π--progressβ show progress as:dots,none,bar,names,verbose. pick your vibe β little dots, absolutely nothing, a whole bar, the names of stuff, or the full verbose yap session. π--errorlevelβ show errorlevel as:none,message,exception,traceback. how dramatic do you want your errors to be? from "pretend nothing happened" to "full traceback theatre."-i/--inputβ read from INPUT inpo,potformats. this is your source material, bestie.-x/--excludeβ exclude names matching EXCLUDE from input paths. we're gatekeeping certain files, respectfully. π«-o/--outputβ write to OUTPUT inass,srt,ssa,subformats. four subtitle formats, one slay. π-t/--templateβ read from TEMPLATE inass,srt,ssa,subformats. same four formats, but she's the blueprint, not the destination.-S/--timestampβ skip conversion if the output file has newer timestamp. she checks the receipts before doing any work. efficient. π--thresholdβ only convert files where the translation completion is above PERCENT. queen sets a bar and refuses to go below it. π--fuzzyβ use translations marked fuzzy. yes bestie, the wobbly ones, bring 'em in. π«§--nofuzzyβ don't use translations marked fuzzy (default). and this is the default, so if you didn't say anything, this is what you got. no cap.
lowkey important reminder:--fuzzyand--nofuzzyare two sides of the same coin, and if you pick neither, you're getting--nofuzzy. that's the factory setting. πΈ
π SEE ALSO π
nope, there isn't one in this one, bestie β this page keeps it minimal. the DESCRIPTION link above is your bestie-in-arms for further reading. π¦
and that's the whole page!! every flag, every format, every default, all copied over exactly as she came β nothing dropped, nothing invented, nothing "cleaned up." π₯
this little love letter came to you from Translate Toolkit 3.19.5, so if you're citing her, cite her right. πβ¨
bye bestie, go subtitle something pretty ππ·π¦
π¦ 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