[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:
Anmol Singh Bhatia
2025-04-15 16:36:02 +05:30
committed by GitHub
parent c401b26dd4
commit dbcc7bedb4
4 changed files with 2451 additions and 1 deletions

View File

@@ -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";

File diff suppressed because it is too large Load Diff

View File

@@ -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}`);
}

View File

@@ -16,7 +16,8 @@ export type TLanguage =
| "pt-BR"
| "id"
| "ro"
| "vi-VN";
| "vi-VN"
| "tr-TR";
export interface ILanguageOption {
label: string;