react-localized-extractor

2.1.1 • Public • Published

react-localized-extractor

npm

CLI tool extracts the translation messages the from source files and creates translation .po files (merging translations in existing files).

Part of react-localized

Usage

npm i react-localized-extractor
npx react-localized-extractor [options]
react-localized-extractor [options]

Options:
  --version      Show version number                                   [boolean]
  --help         Show help                                             [boolean]
  --locales, -l  List of desired locales (comma separated)   [string] [required]
  --source, -s   Source files pattern
                               [string] [default: "./src/**/*.@(js|ts|jsx|tsx)"]
  --output, -o   Output .po files directory      [string] [default: "./locales"]
  --alias, -a    Function alias                                         [string]
  --save-pot     Should create catalog .pot file in output directory
                                                      [boolean] [default: false]

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.112latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.112
2.1.00
2.0.00
1.0.50
1.0.40
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i react-localized-extractor

Weekly Downloads

12

Version

2.1.1

License

MIT

Unpacked Size

7.63 kB

Total Files

4

Last publish

Collaborators

  • fakundo