Bidirectional Text & Complex Typography
Probing text direction switches (Arabic/Hebrew mixed with English terms), vertical East Asian typography, math expressions, and narrow container overflows.
1. Bidirectional Text (RTL Embedded with LTR Code)
When translating into RTL languages (e.g. Arabic or Hebrew), technical terms, URLs, and code spans must maintain correct left-to-right inline flow without reversing punctuation:
يقوم نظام MultiLipi Edge Worker بمعالجة الطلبات بسرعة فائقة باستخدام
GET /wp-json/multilipi/v1/translate
لضمان تزامن ذاكرة الترجمة عبر جميع القنوات.
LTR Equivalent: The MultiLipi Edge Worker processes requests with ultra-low latency via the GET /wp-json/multilipi/v1/translate endpoint to maintain Translation Memory parity.
2. Mathematical & Scientific Formula Immunity
Mathematical syntax, LaTeX expressions, and KaTeX notation must never be translated as prose:
Maxwell's Ampère-Maxwell Law in differential form: The induced magnetic field along closed curve $C$ is proportional to enclosed current $I_{\text{enc}}$ plus displacement current rate.
3. East Asian Vertical Text & Compound Word Overflow
Tests vertical orientation writing modes (Japanese/Traditional Chinese) and German compound word ellipsis clipping:
日本語の縦書きレイアウトテスト。システム工学の知見と最先端の翻訳インフラストラクチャ。