Add full RTL (Right-To-Left) text direction support for Arabic & Hebrew users
Open 💬 17 comments Opened Apr 25, 2026 by meshalprogramming-cloud
What variant of Codex are you using?
App
What feature would you like to see?
Please add native RTL support in both the Codex and Chat panels.
Arabic text currently does not render properly, especially in terms of text alignment, punctuation placement, and overall reading direction. This makes writing, reviewing, and debugging Arabic content difficult and uncomfortable.
It would be great if the interface could automatically detect RTL languages such as Arabic and Hebrew, apply proper right-to-left alignment, and handle punctuation and mixed Arabic/English text correctly.
This would significantly improve the experience for Arabic-speaking users and anyone working with RTL content.
Additional information
_No response_
17 Comments
I’m also experiencing this issue, and it significantly impacts real-world usage.
Reproducible Case
When mixing Arabic (RTL) with English/code (LTR), the output becomes hard to read:
Example:
Observed problems:
Impact
This is not just a visual issue — it affects:
Suggestion
Proper bidirectional text handling is needed:
dir="rtl"orauto)If needed, I can provide more concrete examples or test cases.
I’d like to add that this issue is not limited to Arabic or Hebrew
It likely affects RTL languages more broadly, including Arabic, Persian/Farsi, Hebrew, Urdu, Pashto, Kurdish/Sorani, Sindhi, and potentially others.
So this should probably be treated as a general RTL/bidirectional text support issue, not as a language-specific rendering bug.
I saw this issue reported a lot, but it seems no one cares, unfortunately!
The problem is with the codex (chatGPT app)
This is not for codex app , its not useful for our case
For Persian users, too.
It's almost fixable by only two JS commands:
Do you develop Codex by Codex? If so, I think it can fix the issue quickly!
The safe fix should be implemented upstream in Codex UI rather than by editing
Codex.app/app.asar.Recommended behavior:
dir="auto"to chat message / markdown roots.dir="auto"to the composer contenteditable / ProseMirror root.preandcodeexplicitly LTR withunicode-bidi: isolate.it's work it >> from powershell use this commande to enable dev tool
[Environment]::SetEnvironmentVariable("BUILD_FLAVOR", "dev", "User")
same issue ....
same issue ....
More accurate workaround:
I’ve come to the conclusion that
dir=autoisn’t the best option. Because in technical contexts, it’s quite common for the first word (and thus the first character) in a paragraph to be LTR, even though the paragraph as a whole is RTL!Is there anyone from the Codex team to see this issue we have been writing about for months???!!!! 😂😂
I can confirm this issue still affects Arabic users in the Codex desktop app.
Even when the app language is set to Arabic, assistant messages are still rendered left-aligned / LTR, which makes Arabic mixed with English shortcuts, code, and inline tokens hard to read.
I ran into the same issue and built a small open-source workaround for Codex Desktop RTL rendering.
It fixes mixed Arabic/English direction and keeps code blocks LTR:
https://github.com/pawnsmaster/codex-rtl-toolkit
Would be happy to hear if it works for your case too.
I ran into this too and built an open-source workaround for the Codex desktop app:
⭐ https://github.com/mmnaderi/codex-rtl
It patches the app locally, keeps code/file paths readable in LTR, adds smart RTL/force RTL modes, custom RTL fonts/line-height, and can be reverted with npx codex-rtl --restore.
It’s not a replacement for native upstream support, but it may help Arabic/Hebrew/Persian users meanwhile. I’m the author and would love feedback from people affected by this.