---
name: "node-po2json"
section: "1"
platform: "linux"
package: "node-po2json"
version: "0.4.5-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/node-po2json"
---

# node-po2json(1)

convert po files to json (Javascript)

## NAME

node-po2json - convert po files to json (Javascript)

## SYNOPSIS

**po2json** *\<input\> \<output\>* \[*options*\]

## DESCRIPTION

input      input file output     output file

## OPTIONS

- **-p**, **--pretty**

  pretty-print JSON

- **-F**, **--fuzzy**

  include fuzzy messages

- **-f**, **--format**

  output format, one of: raw, jed, jed1.x, mf (messageformat)  \[raw\]

- **-d**, **--domain**

  domain  \[messages\]

- **--fallback-to-msgid**

  Use msgid if translation is missing (nplurals must match)

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)  \[raw\]

- **-d**, **--domain**

  domain  \[messages\]

- **--fallback-to-msgid**

  Use msgid if translation is missing (nplurals must match)
