Skip to content
[DEPRECATED] Extract translation strings from dhis2 frontend apps
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.gitignore
README.md
helpers.js
index.js
package.json

README.md

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.
You can’t perform that action at this time.