Update UI language handling and improve .gitignore for Python artifacts

This commit is contained in:
2025-03-09 09:06:54 +01:00
parent cb43b1176f
commit 9d142c269d
7 changed files with 705 additions and 88 deletions

View File

@@ -7,8 +7,7 @@ LANGUAGE_MAPPING = {
"Italiano": "italiano",
"中文": "Chinese",
"日本語": "Japanese",
"العربية": "Arabic"
}
}
# Dictionnaire de traductions pour l'interface
UI_TRANSLATIONS = {
@@ -39,7 +38,9 @@ UI_TRANSLATIONS = {
"error_msg": "Une erreur est survenue",
"processing_error": "Erreur lors du traitement de la requête",
"table_translation": "Traduction",
"table_description": "Ce tableau présente des données sur"
"table_description": "Ce tableau présente des données sur",
"ui_language_label": "Langue de l'interface",
"ui_language_info": "Changer la langue de l'interface uniquement"
},
"English": {
"title": "📚 Intelligent Document Assistant",
@@ -68,7 +69,9 @@ UI_TRANSLATIONS = {
"error_msg": "An error occurred",
"processing_error": "Error processing request",
"table_translation": "Translation",
"table_description": "This table presents data on"
"table_description": "This table presents data on",
"ui_language_label": "UI Language",
"ui_language_info": "Change only the interface language"
},
"Español": {
"title": "📚 Asistente documental inteligente",
@@ -97,7 +100,9 @@ UI_TRANSLATIONS = {
"error_msg": "Se ha producido un error",
"processing_error": "Error al procesar la solicitud",
"table_translation": "Traducción",
"table_description": "Esta tabla presenta datos sobre"
"table_description": "Esta tabla presenta datos sobre",
"ui_language_label": "Idioma de la interfaz",
"ui_language_info": "Cambiar solo el idioma de la interfaz"
}
}