yaml2po(1)

πŸ“¦ version 3.12.1, in opensuse-leap 16.0

✨ NAME ✨

Okay bestie, meet yaml2po(1) β€” the little command that converts YAML files to Gettext PO localization files. It’s giving β€œbridge between your YAML era and your PO era,” and honestly? Iconic. πŸ¦‹


🌸 SYNOPSIS 🌸

Here’s the exact summoning spell, no cap:

yaml2po [--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]

πŸ’… DESCRIPTION πŸ’…

For examples and usage instructions, see: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/yaml2po.html. That’s the docs link, bestie β€” go sip some tea and read. 🍡


πŸŽ€ OPTIONS πŸŽ€

Here’s every flag, every value, every default β€” yes, we’re doing the full tour. πŸ’–

  • --version β€” show program's version number and exit
  • -h/--help β€” show this help message and exit
  • --manpage β€” output a manpage based on the help
  • --progress β€” show progress as: dots, none, bar, names, verbose
  • --errorlevel β€” show errorlevel as: none, message, exception, traceback
  • -i/--input β€” read from INPUT in yaml, yml formats
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths
  • -o/--output β€” write to OUTPUT in po, pot formats
  • -t/--template β€” read from TEMPLATE in yaml, yml formats
  • -S/--timestamp β€” skip conversion if the output file has newer timestamp
  • -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')

That’s the whole yaml2po(1) moment, bestie. This page is brought to you by Translate Toolkit 3.12.1 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from