Kawa Legend
v0.2.5feature

RTL-First: Rebuilding the UI for Arabic

How we retooled the entire component library to make Arabic the primary reading direction, not an afterthought.

Most games treat Arabic as a translated afterthought. We flipped the priority: our component library was rebuilt so that RTL is the primary direction and LTR is the fallback.

Highlights

  • Every icon flips programmatically via dir context, never with a manual override.
  • Menus, tooltips, and modals anchor to the correct edge automatically.
  • The Arabic font stack (Cairo, Aref Ruqaa) is preloaded to prevent FOUT.
  • All CSS uses logical properties (margin-inline-start, border-inline-end).

This foundation is what let us add Kurdish (Kurmanji) as a first-class language in a single afternoon.

#i18n#rtl#accessibility
أسطورة كاوىأسطورة كاوى

لعبة مغامرات وقتال ثنائية الأبعاد مستوحاة من الأساطير الشرقية. تعمل مباشرة في متصفح الويب باستخدام JavaScript وHTML5 Canvas، مع واجهة مبنية باستخدام React وخدمات خلفية تعتمد على FastAPI، وتدعم اللغة العربية والإنجليزية والكردية

المواصفات التقنية

  • المحرّك: Kawa Legend هي لعبة أكشن تعمل عبر متصفح الويب، تم تطويرها باستخدام React وJavaScript وHTML5 Canvas، مع نظام خلفي (Backend) مبني باستخدام FastAPI لتشغيل الخدمات عبر الإنترنت وميزات اللاعبين.
  • الواجهة: تصميم RTL ديناميكي

تابعنا

© 2026 The Legend of Kawa. جميع الحقوق محفوظة.صُنع بشغف من قلب الورشة 🔥