'NODE-PO2JSON'(1)
πΈ NODE-PO2JSON πΈ
okay bestie, gather round, because today we're learning about node-po2json and honestly?? it's giving "small tool, big slay" π
β¨ NAME β¨
node-po2json β convert po files to json (Javascript) π¦
β¨ SYNOPSIS β¨
po2json <input> <output> [options]
β¨ DESCRIPTION β¨
- input β input file
- output β output file
that's it, that's the whole vibe. one file goes in, another file comes out. main character energy fr fr π
β¨ OPTIONS β¨
-p,--prettyβ pretty-print JSON. your JSON gets its glow-up β¨-F,--fuzzyβ include fuzzy messages. yes queen, bring the fuzzy ones too π«Ά-f,--formatβ output format, one of:raw,jed,jed1.x,mf(messageformat). default israwπ-d,--domainβ domain. default ismessagesπ--fallback-to-msgidβ Use msgid if translation is missing (nplurals must match) π
not me double-checking the nplurals must match part... bestie, that one is a requirement, not a suggestion. read it again, i'll wait π
π usage (yes, again, it's the same thing, the page just says it twice)
Usage: po2json <input> <output> [options]
- input β input file
- output β output file
-p,--prettyβ pretty-print JSON β¨-F,--fuzzyβ include fuzzy messages πΈ-f,--formatβ output format, one of:raw,jed,jed1.x,mf(messageformat), defaulting torawπ-d,--domainβ domain, defaulting tomessagesπ--fallback-to-msgidβ Use msgid if translation is missing (nplurals must match) π
like i said. iconic, repetitive, but iconic π
okay that's the whole page, go convert some po files to json and absolutely ate it π
0.4.2 Β· July 2016 Β· mwah, love u, bye πβ¨
π¦ where this page comes from
- debian bookworm: node-po2json 0.4.5-3 Β· LGPL-2.0-only
- debian trixie: node-po2json 0.4.5-3 Β· LGPL-2.0-only
- ubuntu jammy: node-po2json 0.4.5-2 Β· LGPL-2.0-only
- ubuntu noble: node-po2json 0.4.5-3 Β· LGPL-2.0-only
- ubuntu resolute: node-po2json 0.4.5-3 Β· LGPL-2.0-only
- ubuntu stonking: node-po2json 0.4.5-3 Β· LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms