Add Chinese localization

Addresses https://github.com/paperless-ngx/paperless-ngx/issues/134#issuecomment-1062950795
This commit is contained in:
Michael Shamoon
2022-03-10 10:00:20 -08:00
parent 6669009484
commit f843487081
4 changed files with 11 additions and 2 deletions

View File

@@ -264,6 +264,12 @@ export class SettingsService {
englishName: 'Swedish',
dateInputFormat: 'yyyy-mm-dd',
},
{
code: "zh-cn",
name: $localize`Chinese Simplified`,
englishName: "Chinese Simplified",
dateInputFormat: "yyyy-mm-dd"
}
]
// Sort languages by localized name at runtime