@danielchabr/lingui_cli
v2.8.4
Published
CLI for working wit message catalogs
Downloads
1
Maintainers
Readme
@lingui/cli
lingui command line tools for manipulating message catalogues
@lingui/cli
is part of LinguiJS. See the documentation for all information, tutorials and examples.
Installation
npm install --global @lingui/cli
# yarn global add @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
This package is licensed under MIT license.