Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add flag to build localized app
Roland Geider4a5176f01b51
diff --git a/angular/README.md b/angular/README.mdindex fbef3e9c5..3de938f7b 100644--- a/angular/README.md+++ b/angular/README.md@@ -10,19 +10,22 @@ the compiled javascript is in `core/static/angular`.Compile angular code, in wger root folder:-```bash+```shellyarn build:angular```or in this folder:-```-ng build --configuration production --output-path ../wger/core/static/angular --watch --output-hashing none+```shell+ng build --configuration production \+ --output-path ../wger/core/static/angular \+ --output-hashing none \+ --localize```## i18n-```bash+```shellng extract-i18n --output-path src/locale/```@@ -31,7 +34,7 @@ ng extract-i18n --output-path src/locale/Update angular to a new version with-```bash+```shellng update @angular/core @angular/cli```diff --git a/package.json b/package.jsonindex 52b9c2de5..2a8d26fde 100644--- a/package.json+++ b/package.json@@ -31,7 +31,8 @@"yarn": "^1.22.11"},"scripts": {- "build:css:sass": "sass wger/core/static/scss/main.scss:wger/core/static/yarn/bootstrap-compiled.css"+ "build:css:sass": "sass wger/core/static/scss/main.scss:wger/core/static/yarn/bootstrap-compiled.css",+ "build:angular": "cd angular && ng build --configuration production --output-path ../wger/core/static/angular --output-hashing none --localize"},"engines": {"yarn": ">= 1.0.0"