Skip to content

Commit

Permalink
feat(translate): added getDefaultLang method
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe authored Oct 4, 2016
2 parents 850ea51 + ce07a48 commit c7edaf0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/translate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ export class TranslateService {
this.defaultLang = lang;
}

/**
* Gets the default language used
* @returns string
*/
public getDefaultLang(): string {
return this.defaultLang;
}

/**
* Changes the lang currently used
* @param lang
Expand Down

0 comments on commit c7edaf0

Please sign in to comment.