Arabic mixed with English/code is not rendered correctly in Codex chat الجمهور العربي يطالب بابسط الحقوق بنص عربي قابل للفهم
What variant of Codex are you using?
Codex Desktop last version updated
What feature would you like to see?
Codex Desktop does not render Arabic mixed with English/code snippets correctly in chat messages.
When the assistant replies in Arabic and includes English words, file paths, URLs, code identifiers, or inline code snippets, the text direction becomes visually confusing. Arabic text is not consistently rendered right-to-left, and English/code fragments appear to break the sentence order. This makes the response hard to read and understand.
Changing the Codex application language to Arabic does not fix the issue. The app UI becomes Arabic, but the chat message rendering still does not properly support bidirectional text.
Expected behavior:
Chat messages containing Arabic mixed with English/code should be rendered in a readable right-to-left layout, similar to ChatGPT. Arabic paragraphs should keep RTL direction, while English words, file paths, URLs, and code snippets should be isolated so they do not disrupt the surrounding Arabic sentence.
Actual behavior:
Arabic and English/code fragments visually overlap or appear in the wrong order inside the same message, especially when the response contains paths, URLs, method names, stack traces, or inline code.
Suggested fix:
Please improve bidirectional text support in Codex chat rendering by applying proper RTL handling and bidi isolation for mixed-language messages. For example:
- Use dir="auto" or explicit RTL direction for Arabic paragraphs.
- Apply unicode-bidi isolation or equivalent behavior for inline code, URLs, paths, and English technical terms.
- Ensure Markdown inline code blocks do not affect the visual ordering of surrounding Arabic text.
Additional information
نريد دعم اللغة العربية بشكل افتراضي مثل الانجليزيه
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
طلبت من كودكس ينزل الريبو : https://github.com/pawnsmaster/codex-rtl-toolkit
ويشغلها وعطيته الصلاحيات
شغلها
وطلب مني اشغل ملف cmd
بعد التاكيد على اغلاق الكودكس من كل مكان - بجانب الساعة وكمان الشريط السفلي -
وبعد اعادة التشغيل ما وجت الحل لم يعمل الحل ولازال النص مختلط
سالته مره اخرى فقام يبحث في المشكلة وفجئة قبل ان يعيد لي النتيجة تغيرت النصوص والاتجاه وتطبق الحل
اعتقد كان يحتاج شوي وقت انتظر له
ونجحت
والحمد لله الان حياتي حلوه وممتعه
شكراً لصانع الريبو ولكودكس