2.7.3-sl.20 • Published 4 years ago

@sector-labs/lingui-cli v2.7.3-sl.20

Weekly downloads
21
License
MIT
Repository
github
Last release
4 years ago

License Version Downloads

lingui-cli

lingui command line tools for manipulating message catalogues

lingui-cli is part of js-lingui. See the documentation for all information, tutorials and examples.

Installation

yarn global add lingui-cli
# npm install --global lingui-cli

Note: If you don't wist to install package globally, it works locally as well. However, you need either run it from node_modules/.bin/lingui or add it to your package.json:

{
  "scripts": {
    "add-locale": "lingui add-locale",
    "extract": "lingui extract",
    "compile": "lingui compile"
  }
}

Then you can use:

npm run add-locale -- en cs
npm run extract
npm run compile

Usage

See the tutorial or reference documenation.

License

MIT