https://github.com/stovmascript/lingui-extract-repro
https://github.com/stovmascript/lingui-extract-repro
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stovmascript/lingui-extract-repro
- Owner: stovmascript
- Created: 2019-07-30T16:36:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T16:40:52.000Z (almost 6 years ago)
- Last Synced: 2025-01-10T10:30:02.876Z (5 months ago)
- Language: JavaScript
- Size: 73.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Repro
```bash
git clone https://github.com/stovmascript/lingui-extract-repro.git
cd lingui-extract-repro/
npm i
npm run extract -- --convert-from lingui
```## Output
```
> lingui extract "--convert-from" "lingui"Catalog statistics:
┌──────────┬─────────────┬─────────┐
│ Language │ Total count │ Missing │
├──────────┼─────────────┼─────────┤
│ cs │ 4 │ 4 │
│ en │ 4 │ 4 │
└──────────┴─────────────┴─────────┘(use "npm run extract -- --convert-from add-locale " to add more locales)
(use "npm run extract -- --convert-from extract" to update catalogs with new messages)
(use "npm run extract -- --convert-from compile" to compile catalogs for production)
```