diff options
Diffstat (limited to 'alarm-analysis/src/main/webapp/alarm/app/app.component.ts')
-rw-r--r-- | alarm-analysis/src/main/webapp/alarm/app/app.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alarm-analysis/src/main/webapp/alarm/app/app.component.ts b/alarm-analysis/src/main/webapp/alarm/app/app.component.ts index d6ad1c0e..cc8fdc7e 100644 --- a/alarm-analysis/src/main/webapp/alarm/app/app.component.ts +++ b/alarm-analysis/src/main/webapp/alarm/app/app.component.ts @@ -33,7 +33,7 @@ export class AppComponent implements OnInit{ }
ngOnInit():void {
- this.translate.addLangs(["en", "zh"]);
+ this.translate.addLangs(["en-US", "zh-CN"]);
this.translate.setDefaultLang('zh');
let language = this.getLanguage();
this.translate.use(language);
|