Skip to content

Commit

Permalink
Merge pull request #105 from the0neyouseek/enable-i18n
Browse files Browse the repository at this point in the history
French Translation
  • Loading branch information
oznu authored Jun 2, 2018
2 parents 60d2b9b + 422b43d commit 536ef04
Show file tree
Hide file tree
Showing 3 changed files with 837 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ui/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class AppComponent {
public $auth: AuthService,
) {
// this array needs to be updated each time a new translation is added
translate.addLangs(['en', 'de']);
translate.addLangs(['en', 'de', 'fr']);

if (translate.getLangs().find(x => x === translate.getBrowserLang())) {
translate.use(translate.getBrowserLang());
Expand Down
Loading

0 comments on commit 536ef04

Please sign in to comment.