Skip to content

Instantly share code, notes, and snippets.

@theodesp
Last active November 16, 2019 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theodesp/73e032bc057d7ccf914e5defbadea0fa to your computer and use it in GitHub Desktop.
Save theodesp/73e032bc057d7ccf914e5defbadea0fa to your computer and use it in GitHub Desktop.
$ npm run extract
> react-i18n-libraries@0.1.0 extract /Users/itspare/WebstormProjects/react-i18n-libraries
> lingui extract
Catalog statistics:
┌─────────────┬─────────────┬─────────┐
│ Language │ Total count │ Missing │
├─────────────┼─────────────┼─────────┤
│ el │ 7 │ 7 │
│ en (source) │ 7 │ - │
└─────────────┴─────────────┴─────────┘
(use "npm run add-locale <locale>" to add more locales)
(use "npm run extract" to update catalogs with new messages)
(use "npm run compile" to compile catalogs for production)
$ npm run compile
> lingui compile
Compiling message catalogs…
Done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment