mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 23:29:37 +01:00
[WEB-3855] feat: Turkish language support (#6922)
* add Turkish language support (#6874) * add turkish language support * fix indentation * chore: extended core translation added * chore: code refactor --------- Co-authored-by: Farahat Abdrabouh <88924701+fasdjkherig@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c401b26dd4
commit
dbcc7bedb4
@@ -21,6 +21,7 @@ export const SUPPORTED_LANGUAGES: ILanguageOption[] = [
|
||||
{ label: "Indonesian", value: "id" },
|
||||
{ label: "Română", value: "ro" },
|
||||
{ label: "Tiếng việt", value: "vi-VN" },
|
||||
{ label: "Türkçe", value: "tr-TR" },
|
||||
];
|
||||
|
||||
export const LANGUAGE_STORAGE_KEY = "userLanguage";
|
||||
|
||||
2446
packages/i18n/src/locales/tr-TR/translations.json
Normal file
2446
packages/i18n/src/locales/tr-TR/translations.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -173,6 +173,8 @@ export class TranslationStore {
|
||||
return import("../locales/ro/translations.json");
|
||||
case "vi-VN":
|
||||
return import("../locales/vi-VN/translations.json");
|
||||
case "tr-TR":
|
||||
return import("../locales/tr-TR/translations.json");
|
||||
default:
|
||||
throw new Error(`Unsupported language: ${language}`);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,8 @@ export type TLanguage =
|
||||
| "pt-BR"
|
||||
| "id"
|
||||
| "ro"
|
||||
| "vi-VN";
|
||||
| "vi-VN"
|
||||
| "tr-TR";
|
||||
|
||||
export interface ILanguageOption {
|
||||
label: string;
|
||||
|
||||
Reference in New Issue
Block a user