feat(i18n): add shared translation files and language registry

This commit is contained in:
ghostubborn
2026-04-01 15:20:49 +08:00
parent 1536a79334
commit c8a1bd5cbf
3 changed files with 706 additions and 0 deletions

30
locales/languages.json Normal file
View File

@@ -0,0 +1,30 @@
{
"zh": {
"label": "中文",
"llmInstruction": "请使用中文回答。"
},
"en": {
"label": "English",
"llmInstruction": "Please respond in English."
},
"es": {
"label": "Español",
"llmInstruction": "Por favor, responde en español."
},
"fr": {
"label": "Français",
"llmInstruction": "Veuillez répondre en français."
},
"pt": {
"label": "Português",
"llmInstruction": "Por favor, responda em português."
},
"ru": {
"label": "Русский",
"llmInstruction": "Пожалуйста, отвечайте на русском языке."
},
"de": {
"label": "Deutsch",
"llmInstruction": "Bitte antworten Sie auf Deutsch."
}
}