From 5f2eb2a7a0a635a43204a82d4f66022e21be1960 Mon Sep 17 00:00:00 2001 From: Kim Biesbjerg Date: Thu, 16 Apr 2020 14:57:51 +0200 Subject: [PATCH] Update package.json example scripts --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11f5898..aa14f37 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ Add a script to your project's `package.json`: ```json ... "scripts": { - "extract-i18n": "ngx-translate-extract --input ./src --output ./src/assets/i18n/strings.json --key-as-default-value --clean --sort --format namespaced-json" + "i18n:init": "ngx-translate-extract --input ./src --output ./src/assets/i18n/template.json --key-as-default-value --replace --format json", + "i18n:extract": "ngx-translate-extract --input ./src --output ./src/assets/i18n/{en,da,de,fi,nb,nl,sv}.json --clean --format json" } ... ```