Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ng-app/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ import { CpuDashboardComponent } from './cpu-dashboard/cpu-dashboard.component';
import localeDe from '@angular/common/locales/de';
import localeDeExtra from '@angular/common/locales/extra/de';

import localeNl from '@angular/common/locales/nl';
import localeNlExtra from '@angular/common/locales/extra/nl';

import { I18n } from '@ngx-translate/i18n-polyfill';

import { OverlayModule } from '@angular/cdk/overlay';
Expand All @@ -77,6 +80,7 @@ import { FanGraphComponent } from './fan-graph/fan-graph.component';
import { ChartsModule, ThemeService } from 'ng2-charts';

registerLocaleData(localeDe, 'de', localeDeExtra);
registerLocaleData(localeNl, 'nl', localeNlExtra);

// TODO: Set localeId according to settings
let langId = 'en';
Expand Down
Loading