toml2po(1)
π toml2po β the Unix manual page, but make it cute π
okay bestie, welcome to toml2po, section 1 of the manual, straight out of Translate Toolkit 3.19.5 β¨ this is the little command that takes your TOML files and turns them into Gettext PO localization files, and honestly? it's giving translator-girlboss energy π
π NAME π
toml2po β convert TOML files to Gettext PO localization files. that's it, that's the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
toml2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-P|--pot] [--duplicates DUPLICATESTYLE]
no cap, that's the whole invocation laid out for you like an outfit flat-lay πΈ
π DESCRIPTION π
okay so there's a whole doc page with examples and usage instructions waiting for you:
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/toml2po.html
for examples and usage instructions. go read it, i'll wait π«Ά
β¨ OPTIONS β¨
every single flag, none skipped, fr fr:
--versionβ show program's version number and exit π like she's announcing herself at the door-h/--helpβ show this help message and exit. your safety net, bestie π§--manpageβ output a manpage based on the help π meta, honestly iconic--progressβ show progress as:dots,none,bar,names,verboseβ³ pick your vibe--errorlevelβ show errorlevel as:none,message,exception,tracebackπ how much drama do you want when things go wrong-i/--inputβ read from INPUT in toml format π₯-x/--excludeβ exclude names matching EXCLUDE from input paths π« say bye to the ones you don't want-o/--outputβ write to OUTPUT in po, pot formats π€-t/--templateβ read from TEMPLATE in toml format π-S/--timestampβ skip conversion if the output file has newer timestamp β° she's not gonna redo work she already did-P/--potβ output PO Templates (.pot) rather than PO files (.po) π--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt') π―βοΈ two identical strings walk into a bar and you decide their fate
π heads up:--duplicatesis the one with actual choices βmergeormsgctxtβ and if you don't pick, you getmsgctxt. the default ismsgctxt. don't forget it.
π SEE ALSO π
hmm, the original doesn't list any SEE ALSO entries here β the cross-references live in that docs link up top. go peek at the URL, it's the main character of the DESCRIPTION π
and that's the whole page, bestie β toml2po, section 1, from Translate Toolkit 3.19.5. mwah, go convert something gorgeous ππ
π¦ 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