Files
DeepTutor/web/features/settings/store/response-language-options.ts
Bingxi Zhao (Frank) 47ae8a27e4 Merge PR #2515: feat(i18n): add Hungarian as an interface and reply language
Combine Hungarian with Italian UI and Hindi reply-language registries; translate 49 newly integrated keys and add the Hungarian endonym to Italian. Regenerate router and frontend contracts. 33 Python locale tests, full Node suite and locale parity pass.
2026-11-14 23:36:26 +08:00

33 lines
1.1 KiB
TypeScript

import type { ResponseLanguage } from "@/i18n/languages";
export type ResponseLanguageOption = {
value: ResponseLanguage;
label: string;
};
/**
* Every reply language the backend accepts, in a light module so pickers can
* offer the full list without importing the settings store.
*/
export const RESPONSE_LANGUAGE_OPTIONS: readonly ResponseLanguageOption[] = [
{ value: "en", label: "English" },
{ value: "zh", label: "简体中文" },
{ value: "zh-tw", label: "繁體中文" },
{ value: "ja", label: "日本語" },
{ value: "ko", label: "한국어" },
{ value: "es", label: "Español" },
{ value: "fr", label: "Français" },
{ value: "de", label: "Deutsch" },
{ value: "ru", label: "Русский" },
{ value: "pt", label: "Português" },
{ value: "it", label: "Italiano" },
{ value: "ar", label: "العربية" },
{ value: "pl", label: "Polski" },
{ value: "uk", label: "Українська" },
{ value: "ms", label: "Bahasa Melayu" },
{ value: "vi", label: "Tiếng Việt" },
{ value: "tr", label: "Türkçe" },
{ value: "hi", label: "हिन्दी" },
{ value: "hu", label: "Magyar" },
];