Skip to content

Hjbiki/XUnityArabicTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XUnityArabicTranslator

مترجم مخصص للعربية للـ XUnity.AutoTranslator

العربية | English

📑 المحتويات

📝 نبذة

هذا المشروع مستوحى من ezTransWeb ولكنه يركز على الترجمة للعربية مع إعادة تشكيل النص.

✨ المميزات

  • ترجمة متخصصة للغة العربية
  • إعادة تشكيل النص العربي بشكل صحيح
  • دعم اتجاه النص من اليمين إلى اليسار
  • الحفاظ على رموز العملات والأرقام
  • دعم جميع اللغات المصدر

📋 المتطلبات

  • Python 3.x
  • Flask
  • googletrans
  • arabic-reshaper
  • python-bidi

⚙️ التثبيت

  1. قم بتثبيت Python 3.x
  2. قم بتثبيت المكتبات المطلوبة:
pip install -r requirements.txt

🚀 الاستخدام

  1. قم بتشغيل المترجم:
python translator.py
  1. قم بتكوين XUnity.AutoTranslator:
Endpoint=CustomTranslate
[Custom]
Url=http://127.0.0.1:5000/translate

💎 المميزات الخاصة

إعادة تشكيل النص العربي

  • يعيد تشكيل النص العربي بشكل صحيح
  • يدعم جميع أشكال الحروف العربية
  • يحافظ على علامات التشكيل

الحفاظ على التنسيق

  • يحافظ على رموز العملات
  • يحافظ على الأرقام
  • يحافظ على الرموز الخاصة

📄 الترخيص

هذا المشروع مرخص تحت رخصة MIT.

🙏 الشكر والتقدير


XUnityArabicTranslator

Custom Arabic translator for XUnity.AutoTranslator

English | العربية

📑 Table of Contents

📝 About

This project is inspired by ezTransWeb but focuses on Arabic translation with text reshaping.

✨ Features

  • Specialized Arabic translation
  • Proper Arabic text reshaping
  • RTL text direction support
  • Currency and numbers preservation
  • Supports all source languages

📋 Requirements

  • Python 3.x
  • Flask
  • googletrans
  • arabic-reshaper
  • python-bidi

⚙️ Installation

  1. Install Python 3.x
  2. Install required libraries:
pip install -r requirements.txt

🚀 Usage

  1. Run the translator:
python translator.py
  1. Configure XUnity.AutoTranslator:
Endpoint=CustomTranslate
[Custom]
Url=http://127.0.0.1:5000/translate

💎 Special Features

Arabic Text Reshaping

  • Properly reshapes Arabic text
  • Supports all Arabic letter forms
  • Preserves diacritics

Format Preservation

  • Preserves currency symbols
  • Preserves numbers
  • Preserves special characters

📄 License

This project is licensed under the MIT License.

🙏 Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages