add french translations support
This commit is contained in:
parent
fecb980c9b
commit
7eb329db6b
|
@ -138,6 +138,7 @@ import { SearchPipe } from 'jslib/angular/pipes/search.pipe';
|
|||
import { registerLocaleData } from '@angular/common';
|
||||
import localeDa from '@angular/common/locales/da';
|
||||
import localeDe from '@angular/common/locales/de';
|
||||
import localeFr from '@angular/common/locales/fr';
|
||||
import localePt from '@angular/common/locales/pt';
|
||||
import localePtPt from '@angular/common/locales/pt-PT';
|
||||
import localeRu from '@angular/common/locales/ru';
|
||||
|
@ -145,6 +146,7 @@ import localeSk from '@angular/common/locales/sk';
|
|||
|
||||
registerLocaleData(localeDa, 'da');
|
||||
registerLocaleData(localeDe, 'de');
|
||||
registerLocaleData(localeDe, 'fr');
|
||||
registerLocaleData(localePt, 'pt-BR');
|
||||
registerLocaleData(localePtPt, 'pt-PT');
|
||||
registerLocaleData(localeRu, 'ru');
|
||||
|
|
|
@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService {
|
|||
});
|
||||
|
||||
this.supportedTranslationLocales = [
|
||||
'en', 'da', 'de', 'pt-PT', 'pt-BR', 'ru', 'sk',
|
||||
'en', 'da', 'de', 'fr', 'pt-PT', 'pt-BR', 'ru', 'sk',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue