po2yaml(1)
π
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 inpo,potformats. 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 inyaml,ymlformats. the glow-up destination β¨-t,--templateβ read from TEMPLATE inyaml,ymlformats. 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:--nofuzzyis 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
- opensuse-leap 16.0: python313-translate-toolkit 3.12.1-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms