po2json(1)
β¨ po2json(1) β¨
ok so bestie, this is the manual page for po2json π β that's the command name, the whole ~vibe~ of this doc. And the toolkit behind it is Translate Toolkit 3.19.5, which is the version of the source this page ships with. Buckle up π
πΈ NAME πΈ
po2json β Convert Gettext PO localization files to JSON files.
like, it takes your .po files and goes poof β now they're .json π¦
π«Ά SYNOPSIS π«Ά
po2json [--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] [--removeuntranslated]
yes it's a long one, she's got a lot going on, she's that girl π
π DESCRIPTION π
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/json2po.html for examples and usage instructions.
ngl that link literally goes to the json2po page and says it's got the examples and usage instructions, so if you want the lore, that's where the lore is πβ¨
π OPTIONS π
--versionβ show program's version number and exit. quick lil "who am i" moment πͺ-h/--helpβ show this help message and exit. the classic cry for help but make it helpful π«Ά--manpageβ output a manpage based on the help. it's giving self-portrait π¨--progressβ show progress as:dots,none,bar,names,verbose. pick your fave lil loading aesthetic β¨--errorlevelβ show errorlevel as:none,message,exception,traceback. how much chaos do you want in the group chat π-i/--inputβ read from INPUT inpo,potformats. this is the source bestie π-x/--excludeβ exclude names matching EXCLUDE from input paths. not today, not on my watch π-o/--outputβ write to OUTPUT injsonformat. the glow-up destination π-t/--templateβ read from TEMPLATE injsonformat. a lil reference blueprint, iconic π§-S/--timestampβ skip conversion if the output file has newer timestamp. she said "already dealt with it, next" πββοΈ--thresholdβ only convert files where the translation completion is above PERCENT. queen behaviour, we're setting standards π--fuzzyβ use translations marked fuzzy. yes we're including the messy ones, embrace them π--nofuzzyβ don't use translations marked fuzzy (default). the tidy girlie setting β¨--removeuntranslatedβ remove untranslated strings from output. ghosting the unfinished ones, fr fr π»
lowkey important: --nofuzzy is the default, so if you do nothing, fuzzy translations are NOT used. no cap. π₯
ok that's literally the whole page, thank you for coming to my ted talk π
Translate Toolkit 3.19.5 babes, manual name po2json(1) β mwah, go convert something gorgeous πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms