@dhis2/d2-i18n-extract

1.0.8 • Public • Published

Extract i18n.t translation strings from DHIS2 frontend apps

Install

$> yarn add @dhis2/d2-i18n-extract

Example

$> d2-i18n-extract -p ./src/ -o ./i18n/

Usage

d2-i18n-extract [-h] [-v] [-p PATH] [-o OUTPUT]

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  -p PATH, --path PATH  directory path to recurse and extract i18n.t 
                        translation strings
  -o OUTPUT, --output OUTPUT
                        destination path for en.pot file.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @dhis2/d2-i18n-extract

    Weekly Downloads

    51

    Version

    1.0.8

    License

    BSD-3-Clause

    Unpacked Size

    4.74 kB

    Total Files

    5

    Last publish

    Collaborators

    • amcgee
    • dhis2-bot