@lingui/format-po-gettext
Version:
Gettext PO format with gettext-style plurals for Lingui Catalogs
34 lines (24 loc) • 1.34 kB
Markdown
[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]
# @lingui/format-po-gettext
> Read and write message catalogs in Gettext PO format with gettext-style plurals
>
> Converts ICU Plural expressions into native gettext plurals
`@lingui/format-po-gettext` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.
## Installation & Usage
See the [reference][reference] documentation.
> **Warning**
> This formatter is made for compatibility with translation management systems, which do not support ICU expressions in PO files.
>
> It does not support all features of LinguiJS and should be carefully considered over other formats.
## License
This package is licensed under [MIT][license] license.
[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/catalog-formats#po-gettext
[package]: https://www.npmjs.com/package/@lingui/format-po-gettext
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/format-po-gettext.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/format-po-gettext.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/format-po-gettext.svg