@dhis2/d2-i18n-extract

Extract i18n.t translation strings from DHIS2 frontend apps

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Oct 31, 2019Feb 27, 2018Minified + gzip package size for @dhis2/d2-i18n-extract in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.