+ i18n: add new languages

This commit is contained in:
Ildar Kamalov 2019-10-03 18:41:48 +03:00
parent 2d402f8cf7
commit eb6dc76920
1 changed files with 12 additions and 0 deletions

View File

@ -24,6 +24,18 @@ var allowedLanguages = map[string]bool{
"zh-tw": true,
"bg": true,
"zh-cn": true,
"cs": true,
"da": true,
"de": true,
"id": true,
"it": true,
"ko": true,
"nl": true,
"pl": true,
"pt-pt": true,
"sk": true,
"sl": true,
"tr": true,
}
func isLanguageAllowed(language string) bool {