@dhis2/d2-i18n-generate

Generate JSON files compatible with i18next from po/pot files.

Stats

StarsIssuesVersionUpdatedCreatedSize
@dhis2/d2-i18n-generate
001.2.02 years ago4 years agoMinified + gzip package size for @dhis2/d2-i18n-generate in KB

Readme

Install

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

Usage

Generate JSON files compatible with i18next from po/pot files.

$> d2-i18n-generate [-h] [-v] [-p PATH] [-o OUTPUT] -n NAMESPACE

Generate JSON files compatible with i18next from po/pot files.

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show version number and exit.
  -p PATH, --path PATH  directory path to find .po/.pot files and convert to 
                        JSON.
  -o OUTPUT, --output OUTPUT
                        Output directory to place converted JSON files.
  -n NAMESPACE, --namespace NAMESPACE
                        Namespace for app. locale separation.

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.