1.4.0 • Published 4 years ago

ngx-translate-merge v1.4.0

Weekly downloads
27
License
ISC
Repository
github
Last release
4 years ago

ngx translate merge Build Status

This CLI tool will merge your translation files based on one master file,

Usage

ngx-translate-merge

You will need a ngx-translate-merge.json in the root directory that looks a bit like this

{
    "i18nFilesPath": "i18n",
    "masterFileName": "en.json",
    "addMissing": true,
    "overwrite": false,
    "removeRedundant": false
}

Flags

Usage: node ngx-translate-tool [options]

Options:
  --[no]addMissing: Adds missing translation keys
    (default: false)
  --[no]removeRedundant: Removes redundant translation keys
    (default: false)
  --[no]overwrite: Whether to overrwrite original files or not
    (default: false)
  --fileType: What type of translation files
    (default: "json")