2.0.6-sl.1 • Published 6 years ago

@nightingales/lingui-cli v2.0.6-sl.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 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