ignore metadata improvements
This commit is contained in:
@@ -9,8 +9,8 @@ import { Subject } from 'rxjs';
|
||||
})
|
||||
export class I18nService {
|
||||
|
||||
locale: string = "en";
|
||||
locales: any[] = [ "en" ];
|
||||
locale: string = "de-informal";
|
||||
locales: any[] = [ "de-informal", "en" ];
|
||||
i18n: any;
|
||||
|
||||
constructor(private http: HttpClient) {
|
||||
@@ -22,7 +22,7 @@ export class I18nService {
|
||||
}
|
||||
|
||||
getLocale() {
|
||||
return this.locale || 'en';
|
||||
return this.locale || 'de-informal';
|
||||
}
|
||||
|
||||
setLocale(locale) {
|
||||
@@ -96,7 +96,7 @@ export class I18nService {
|
||||
if (args && args.length > 0) {
|
||||
return key + "[" + args + "]";
|
||||
}
|
||||
|
||||
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user