diff --git a/src/app/commons/component/header/header.component.ts b/src/app/commons/component/header/header.component.ts index 96c43c4..59ceb46 100644 --- a/src/app/commons/component/header/header.component.ts +++ b/src/app/commons/component/header/header.component.ts @@ -50,6 +50,14 @@ export class HeaderComponent implements OnInit, OnDestroy { // return this.locale.getLanguageDirection(language) as Direction; // } + get currentCountry(): string { + return this.locale.getCurrentCountry(); + } + + get currentNumberingSystem(): string { + return this.locale.getCurrentNumberingSystem(); + } + selectLocale(language: string, country: string, currency: string, numberingSystem: string): void { this.locale.setDefaultLocale(language, country, '', numberingSystem); this.locale.setCurrentCurrency(currency); diff --git a/src/app/commons/component/layouts.module.ts b/src/app/commons/component/layouts.module.ts index 45bed9b..84cf642 100644 --- a/src/app/commons/component/layouts.module.ts +++ b/src/app/commons/component/layouts.module.ts @@ -12,14 +12,6 @@ import { SensorItemFilterComponent } from './sensor-item-filter/sensor-item-filt import { HostSummaryCardComponent } from './host-summary-card/host-summary-card.component'; import { AppSummaryCardComponent } from './app-summary-card/app-summary-card.component'; -import { - L10nConfig, - L10nLoader, - LocalizationModule, - ProviderType, - StorageStrategy -} from 'angular-l10n'; - @NgModule({ imports: [ CommonModule,