mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 04:10:20 +08:00
feat: Czech, Slovak localization (#3095)
* feat: add l10n Czech, Slovak language support * feat: i18n Czech, Slovak translation
This commit is contained in:
@ -56,6 +56,8 @@ export const Countries = [
|
||||
{label: "Українська", key: "uk", country: "UA", alt: "Українська"},
|
||||
{label: "Қазақ", key: "kk", country: "KZ", alt: "Қазақ"},
|
||||
{label: "فارسی", key: "fa", country: "IR", alt: "فارسی"},
|
||||
{label: "Čeština", key: "cs", country: "CZ", alt: "Čeština"},
|
||||
{label: "Slovenčina", key: "sk", country: "SK", alt: "Slovenčina"},
|
||||
];
|
||||
|
||||
export function getThemeData(organization, application) {
|
||||
|
@ -125,6 +125,14 @@ function initLanguage() {
|
||||
case "fa":
|
||||
language = "fa";
|
||||
break;
|
||||
case "cs":
|
||||
case "cs-CZ":
|
||||
language = "cs";
|
||||
break;
|
||||
case "sk":
|
||||
case "sk-SK":
|
||||
language = "sk";
|
||||
break;
|
||||
default:
|
||||
language = Conf.DefaultLanguage;
|
||||
}
|
||||
|
1209
web/src/locales/cs/data.json
Normal file
1209
web/src/locales/cs/data.json
Normal file
File diff suppressed because it is too large
Load Diff
1209
web/src/locales/sk/data.json
Normal file
1209
web/src/locales/sk/data.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user