Add i18n completion tool.

This commit is contained in:
Florian THIERRY
2024-09-21 12:20:22 +02:00
parent 3935f6ad21
commit b546a0cf01
8 changed files with 665 additions and 10 deletions

View File

@@ -11,7 +11,9 @@
"build-prod-fr": "ng build --configuration=production-fr --base-href /fr/",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"i18n": "ng extract-i18n --output-path src/locale --format=json"
"i18n": "npm run i18n-ng-extraction && npm run i18n-fr-file-completion",
"i18n-ng-extraction": "ng extract-i18n --output-path src/locale --format=json",
"i18n-fr-file-completion": "cd ../ci/i18n-completer && npm start && cd -"
},
"private": true,
"dependencies": {