add french translations support

This commit is contained in:
Kyle Spearrin 2018-08-01 07:35:33 -04:00
parent fecb980c9b
commit 7eb329db6b
2 changed files with 3 additions and 1 deletions

View File

@ -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');

View File

@ -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',
];
}
}