Skip to content

Commit

Permalink
french translation
Browse files Browse the repository at this point in the history
  • Loading branch information
HanNguyen-dev committed Dec 20, 2024
1 parent 4f3d800 commit 8ca2535
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions modules/web/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@
"with": "src/environments/environment.prod.ts"
}
]
},
"development": {
"localize": false,
"optimization": false,
"extractLicenses": false,
"sourceMap": true
},
"fr": {
"localize": ["fr"]
}
}
},
Expand Down Expand Up @@ -180,6 +189,11 @@
"options": {
"browserTarget": "kubernetes-dashboard:esbuild",
"port": 8080
},
"configurations": {
"fr": {
"browserTarget": "kubernetes-dashboard:build:development,fr"
}
}
},
"extract-i18n-merge": {
Expand Down
2 changes: 1 addition & 1 deletion modules/web/hack/scripts/dev.serve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ echo "Installing dependencies"
SKIP_POSTINSTALL=true yarn

echo "Starting angular in dev mode"
npx ng serve --proxy-config=proxy.conf.json --host=0.0.0.0 --disable-host-check --poll=2000
npx ng serve --proxy-config=proxy.conf.json --configuration=fr --host=0.0.0.0 --disable-host-check --poll=2000

0 comments on commit 8ca2535

Please sign in to comment.