Skip to content

Commit

Permalink
fix: set default lange to root module for #115
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 16, 2020
1 parent ec26934 commit d0c3a4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export function createTranslateLoader(http: HttpClient) {
LedgeRenderModule,
ScullyLibModule,
TranslateModule.forRoot({
defaultLanguage: 'zh-cn',
loader: {
provide: TranslateLoader,
useFactory: createTranslateLoader,
Expand Down

0 comments on commit d0c3a4a

Please sign in to comment.