yaml2po(1)
β¨ 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 inyaml,ymlformats-x/--excludeβ exclude names matching EXCLUDE from input paths-o/--outputβ write to OUTPUT inpo,potformats-t/--templateβ read from TEMPLATE inyaml,ymlformats-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
- 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