Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
/ d2-i18n-generate Public archive

⛔ [DEPRECATED] Please refer to `@dhis2/cli-app-scripts`

Notifications You must be signed in to change notification settings

dhis2/d2-i18n-generate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

⛔ [DEPRECATED] Please refer to `@dhis2/cli-app-scripts`

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •