Add Arabic language option to all locale files and support proper Arabic text display in terminal

- Added "ar" (Arabic) to the languages section in all translation JSON files in the locales directory.
- Implemented Arabic text reshaping and bidi support in main.py using arabic_reshaper and python-bidi for correct RTL display in terminal when Arabic is selected.
This commit is contained in:
Ahmed Nagi
2025-04-22 10:57:51 +02:00
parent 4aba849cf1
commit b51d9c7a74
15 changed files with 808 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
"check_user_authorized": "Gebruikersautorisatie Controleren"
},
"languages": {
"ar": "Arabisch",
"en": "Engels",
"zh_cn": "Vereenvoudigd Chinees",
"zh_tw": "Traditioneel Chinees",