po2toml(1)
β¨ po2toml β like, the manual page bestie π
okay so real talk: po2toml is a command from the Translate Toolkit (we're running 3.19.5 here, periodt) and its whole entire job is converting Gettext PO localization files into TOML files. that's it. that's the gig. she's a converter, she's iconic, she ate π
πΈ SYNOPSIS πΈ
po2toml [--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. all those flags. main character energy fr fr π
π¦ DESCRIPTION π¦
okay so if you want the actual examples and usage instructions, the manpage literally says:
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/toml2po.html for examples and usage instructions.
that's the link bestie, go read it, it's giving tutorial π
π OPTIONS π
every single flag, no skips, no cap:
--versionβ shows the program's version number and then dips out (exits).-h/--helpβ shows this help message, then bounces (exits).--manpageβ spits out a manpage based on the help. meta, lowkey.--progressβ shows progress as:dots,none,bar,names,verbose. pick your vibe.--errorlevelβ shows errorlevel as:none,message,exception,traceback. how much drama do you want when things go wrong, bestie?-i/--inputβ read from INPUT inpo,potformats. the source material β¨-x/--excludeβ exclude names matching EXCLUDE from input paths. not you, not you, not you π-o/--outputβ write to OUTPUT intomlformat. the glow-up destination π-t/--templateβ read from TEMPLATE intomlformat. a lil blueprint to follow.-S/--timestampβ skip conversion if the output file has a newer timestamp. she's lazy in the most efficient way possible, we respect it.--thresholdβ only convert files where the translation completion is above PERCENT. no half-finished energy allowed π₯--fuzzyβ use translations marked fuzzy. they're a little blurry but we love them anyway.--nofuzzyβ don't use translations marked fuzzy. this one is the default, so if you don't say anything, fuzzy translations get left on read π
heads up bestie:--nofuzzyis the default, so fuzzy translations are excluded unless you explicitly ask for them with--fuzzy. don't say i didn't warn you π«Ά
that's the whole page, no crumbs left. this was po2toml(1) from Translate Toolkit 3.19.5 β go convert something gorgeous, mwah ππ
π¦ 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