po2yaml(1)

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

πŸ’… po2yaml(1) β€” the po2yaml glow-up

okay so bestie, welcome to the po2yaml manual page, coming at you straight from Translate Toolkit 3.12.1 πŸŽ€ this is the little icon that takes your Gettext PO localization files and turns them into YAML files. yes, the conversion pipeline of your dreams. let's get into it ✨


🌸 NAME

po2yaml β€” Convert Gettext PO localization files to YAML files. that's it, that's the whole vibe πŸ’–


πŸ¦‹ SYNOPSIS

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

like, copy-paste this exactly, no cap πŸ™ˆ


πŸ‘‘ DESCRIPTION

okay so the actual docs live over at:

http://docs.translatehouse.org/projects/translate-
toolkit/en/latest/commands/yaml2po.html

that's where you'll find the examples and usage instructions β€” go look, it's giving "everything you need" ⭐ (yes it says yaml2po in that URL, that's literally what the original says, don't come for me πŸ’€)


✨ OPTIONS ✨

every single one, present and accounted for, because we don't skip options in this house πŸ’…

  • --version β€” show the program's version number and exit. short and iconic.
  • -h, --help β€” show this help message and exit. the classic "wait what do I do" button 🫢
  • --manpage β€” output a manpage based on the help. yes, the tool writes a manpage about itself. main character energy fr.
  • --progress β€” show progress as: dots, none, bar, names, verbose. pick your fave little loading 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 po, pot formats. your source material, bestie.
  • -x, --exclude β€” exclude names matching EXCLUDE from input paths. not you, not you, definitely not you πŸ™ˆ
  • -o, --output β€” write to OUTPUT in yaml, yml formats. the glow-up destination ✨
  • -t, --template β€” read from TEMPLATE in yaml, yml formats. for when you need a lil blueprint to follow.
  • -S, --timestamp β€” skip conversion if the output file has newer timestamp. she's already fresh, leave her alone πŸ’…
  • --threshold β€” only convert files where the translation completion is above PERCENT. picky? no, selective.
  • --fuzzy β€” use translations marked fuzzy. yeah, the wobbly ones, we're using them.
  • --nofuzzy β€” don't use translations marked fuzzy (default). that's the one you get if you don't say anything πŸŽ€

heads up bestie: --nofuzzy is the default, so if you want those fuzzy translations you gotta actually pass --fuzzy. k, love you, bye πŸ’–

🧚 sign-off

that's the whole po2yaml moment 🌸 brought to you by Translate Toolkit 3.12.1 β€” go convert something gorgeous, ily, mwah πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from