Open woeterman94 opened 4 years ago
duplicate of: https://github.com/biesbjerg/ngx-translate-extract/issues/199
Workaround is to group paths on the same line:
"i18n": "ngx-translate-extract --input ./src --output ./src/assets/i18n/pl.json ./src/assets/i18n/en.json ./src/assets/i18n/de.json --format json --sort"
Confirmed not working for windows 10 and ngx-translate-extract
version 7.0.0
It's weirder, it works on "./src/assets/i18n/_{en,jp}.json" but not "./src/assets/i18n/{en,jp}.json". I think your parser is ignoring "{en,jp}" if it comes after a "/".
When I use
ngx-translate-extract --input ./src --output ./src/assets/i18n/{en,fr,nl}.json --clean --format json
I get one file '{en,fr,nl}.json'
Shouldn't this command result in 3 files?
Running: "@biesbjerg/ngx-translate-extract": "^7.0.2", and latest node version.