po2toml(1)

πŸ“¦
version 3.19.5 Β· 2 versions
, in ubuntu stonking

✨ 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 in po, pot formats. the source material ✨
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not you, not you, not you πŸ™ˆ
  • -o/--output β€” write to OUTPUT in toml format. the glow-up destination πŸ’–
  • -t/--template β€” read from TEMPLATE in toml format. 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: --nofuzzy is 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