RTL issue

Open 💬 7 comments Opened May 7, 2026 by EltayApps
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Codex app has inconsistent RTL rendering for Persian/Farsi messages. Mixed Persian and English text, punctuation, and inline code often display in the wrong direction and become hard to read. Please add proper RTL support or a setting to force message direction per language.

View original on GitHub ↗

7 Comments

EltayApps · 2 months ago

The Codex desktop app has inconsistent RTL rendering for Persian/Farsi messages. Persian text mixed with English words, punctuation, or inline code is displayed in the wrong direction and becomes hard to read.

Please add proper RTL support or a setting to force message direction for RTL languages.

Language: Persian/Farsi
Platform: Windows
App: Codex desktop app

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #19504

Powered by Codex Action

Tarek-g · 2 months ago

I’d like to add that this issue is not limited to Persian/Farsi. It also affects Arabic, Hebrew, Urdu, Pashto, and potentially other right-to-left languages.

In Codex, the basic RTL support itself seems to be missing or incomplete.

By contrast, ChatGPT has better RTL support in both the browser and the app, although it still suffers from the same bidirectional text rendering issue described here.

nad3rzz · 2 months ago

https://marketplace.visualstudio.com/items?itemName=Nad3r.agents-rtl
https://github.com/nad3rzz/agents-rtl

<img width="776" height="931" alt="Image" src="https://github.com/user-attachments/assets/4d4a8fec-5152-411c-b578-de47b73533c1" />

pawnsmaster · 19 days ago

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.

mmnaderi · 14 days ago

I ran into this too and built an open-source patch 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.

EltayApps · 13 days ago

It works fine for RTL, but after running, I lost all my chats on the Codex workspace.