Closed rissom closed 4 years ago
The scripts look like this:
"scripts": {
...,
"i18n": "ng xi18n --output-path ./src/locale && xliffmerge --profile xliffmerge.json en de",
"extract-i18n": "ng xi18n Frontend --i18n-format xlf --output-path i18n --i18n-locale de && ng run Frontend:xliffmerge",
...
Ok, I solved it. The problem was that I had changed the path for the .xlif files before. I first tested both parts seperately until they worked: "i181": "ng xi18n --output-path ./src/locale", "i182": "ng run Frontend:xliffmerge --profile xliffmerge.json", And then combined them to: "i18n": "ng xi18n --output-path ./src/locale && ng run Frontend:xliffmerge --profile xliffmerge.json"
I followed the tutorial a while ago and everything worked as expected. However, I now cleaned up a few things and reinstalled xliffmerge, again following the tutorial page. Using my old trusted npm scipt command, (or the even newly installed script command) I get an error:
Funny enough I can execute the two parts of the npm skript seperately and they seem to work. I should probably mention that I work on Windows-system. The log file the error message refers to looks like this:
Any ideas, what the problem could be?
Best Regards,
Thorsten Rissom