@lingui/format-po
v6.9.1
Published
Reads and writes Lingui message catalogs as gettext PO files with ICU plurals, the default catalog format
Readme
@lingui/format-po
Reads and writes Lingui message catalogs as gettext PO files with ICU plurals, the default catalog format
@lingui/format-po is part of Lingui. Lingui is a lightweight, open-source internationalization (i18n) library for JavaScript and TypeScript. It brings compile-time macros and a CLI for message extraction to React, React Native, Vue, SolidJS, Astro, Svelte, and Node.js.
PO is the default and recommended catalog format: it is readable, almost every translation tool supports it, and it carries comments, source locations and context for translators. The formatter ships with @lingui/cli, so install this package only to pass options.
Usage
See the catalog formats reference.
License
This package is licensed under the MIT license.
