Skip to content

Commit

Permalink
README for 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
martinroob committed Jul 7, 2017
1 parent 4b81342 commit 61a390d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Options:
"useSourceAsTarget": false,
"autotranslate": false,
"apikey": "",
"apikeyfile": "",
"verbose": false,
"quiet": false
}
Expand All @@ -113,10 +114,15 @@ The options are:
- `removeUnusedIds` (boolean, default `true`): flag, if unused IDs should be removed during merge
- `supportNgxTranslate` (boolean, default `false`): flag to active json translation files for ngx-translate
- `useSourceAsTarget` (boolean, default `true`): flag, if source should be copied to target for new trans-units
- `autotranslate` (since v0.7.0) (boolean or array of strings, default `false`): flag, if new units should be automatically translated by Google Translate.
- `autotranslate` (since v0.7.0) (boolean or array of strings, default `false`):
flag, if new units should be automatically translated by Google Translate.
You can also specify a string array with the languages you want to auto translate (e.g `"autotranslate": ["fr", "ru"]`).
For details how to use it have a look at the Wiki Page [xliffmerge-autotranslate-feature](https://github.com/martinroob/ngx-i18nsupport/wiki/xliffmerge-autotranslate-feature).
- `apikey` (since v0.7.0) (string, default ""): API key for usage of Google Translate. Must be set if you activate it by setting `autotranslate`.
For details how to use it have a look at the Wiki Page
[xliffmerge-autotranslate-feature](https://github.com/martinroob/ngx-i18nsupport/wiki/xliffmerge-autotranslate-feature).
- `apikey` (since v0.7.0) (string, default ""): API key for usage of Google Translate.
This or `apikeyfile` or env var `API_KEY_FILE` must be set if you activate autotranslate by setting `autotranslate`.
- `apikeyfile` (since v0.7.1) (string, default ""): file that contains API key for usage of Google Translate.
This or `apikey` or env var `API_KEY_FILE` must be set if you activate autotranslate by setting `autotranslate`.
- `verbose` (boolean, default `false`): controls output
- `quiet` (boolean, default `false`): controls output

Expand Down

0 comments on commit 61a390d

Please sign in to comment.