feat: internationalization Japanese (recreated) (#5513)

japanese translation

---------

Co-authored-by: Max Peintner <[email protected]>
This commit is contained in:
tharuta
2023-03-22 07:30:46 +01:00
committed by GitHub
co-authored by Max Peintner
parent 9b41758af0
commit a8fe15829e
27 changed files with 3822 additions and 74 deletions
@@ -22,7 +22,7 @@ export class LocalizedDatePipe implements PipeTransform {
return moment(value).format(`${format}, HH:mm`);
}
} else {
const lang = ['de', 'en', 'fr', 'it', 'pl', 'zh'].includes(this.translateService.currentLang)
const lang = ['de', 'en', 'fr', 'it', 'ja', 'pl', 'zh'].includes(this.translateService.currentLang)
? this.translateService.currentLang
: 'en';
const datePipe: DatePipe = new DatePipe(lang);