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]

/react-localized-extractor/

    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