-import { Component, ViewChild } from '@angular/core'
-import { ModalDirective } from 'ngx-bootstrap/modal'
-import { I18N_LOCALES } from '../../../../shared'
+import { Component, ElementRef, ViewChild, Inject, LOCALE_ID } from '@angular/core'
+import { I18N_LOCALES, getShortLocale } from '../../../../shared'
+import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
+import { sortBy } from '@app/shared/misc/utils'
+import { getCompleteLocale } from '@shared/models/i18n'
+import { isOnDevLocale, getDevLocale } from '@app/shared/i18n/i18n-utils'