feat(translation): add Czech translation (#6725)
This commit is contained in:
parent
a953013f70
commit
099c5d50ee
4 changed files with 2203 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ export const SUPPORTED_LANGUAGES: ILanguageOption[] = [
|
|||
{ label: "中文", value: "zh-CN" },
|
||||
{ label: "Русский", value: "ru" },
|
||||
{ label: "Italian", value: "it" },
|
||||
{ label: "Čeština", value: "cs" },
|
||||
];
|
||||
|
||||
export const STORAGE_KEY = "userLanguage";
|
||||
|
|
|
|||
2199
packages/i18n/src/locales/cs/translations.json
Normal file
2199
packages/i18n/src/locales/cs/translations.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -151,6 +151,8 @@ export class TranslationStore {
|
|||
return import("../locales/ru/translations.json");
|
||||
case "it":
|
||||
return import("../locales/it/translations.json");
|
||||
case "cs":
|
||||
return import("../locales/cs/translations.json");
|
||||
default:
|
||||
throw new Error(`Unsupported language: ${language}`);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
export type TLanguage = "en" | "fr" | "es" | "ja" | "zh-CN" | "ru" | "it";
|
||||
export type TLanguage = "en" | "fr" | "es" | "ja" | "zh-CN" | "ru" | "it" | "cs";
|
||||
|
||||
export interface ILanguageOption {
|
||||
label: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue