Skip to content

Hebrew RTL/BiDi rendering is broken in ChatGPT/Codex desktop workflows on macOS #31903

Open

Description

@ShalevZorany

Hebrew RTL/BiDi rendering is broken in ChatGPT/Codex desktop workflows on macOS

Environment

  • App: Official ChatGPT desktop app for macOS
  • Observed installed version on reporter machine: ChatGPT 26.707.31123, build 5042
  • Platform: macOS 27.0 (26A5378j), Apple Silicon / arm64
  • Region/language: Israel, Hebrew, right-to-left (RTL)
  • Workflow: ChatGPT desktop app with integrated Codex/GPT coding workflow
  • Related surface: Codex Desktop / Codex panels surfaced through the ChatGPT desktop workflow

Summary

RTL support for Hebrew in the official ChatGPT desktop/Codex macOS workflow is incomplete. This is especially disruptive in coding conversations, where a single message often mixes Hebrew instructions with English identifiers, file paths, terminal output, Markdown, URLs, numbers, GitHub issue/PR references, and inline code.

This is not only cosmetic. For Hebrew users, the visual order of text can become confusing enough that it slows down reading, makes instructions harder to verify, and makes coding workflows significantly less reliable.

Investigation notes

Steps to reproduce

  1. Open the official ChatGPT desktop app on macOS.
  2. Start a normal ChatGPT/Codex conversation.
  3. Use Hebrew as the primary instruction language.
  4. Include mixed LTR technical content in the same message, such as:
    • inline code
    • file paths
    • URLs
    • terminal output
    • Markdown lists
    • numbers
    • GitHub issue/PR references
    • English API/class/function names
  5. Send the message and compare how it appears in:
    • the composer before sending
    • the sent user message
    • the assistant response
    • Codex-related panels / transcript areas
    • sidebars or thread/task lists that display Hebrew titles
  6. Change the app language to Hebrew, if available, and repeat the same examples.

Reproduction examples

Paste these examples exactly as separate messages and compare the composer, sent message, and rendered assistant response.

Mixed Hebrew + inline code

תבדוק למה `npm test` נכשל אחרי השינוי בקובץ `src/app/page.tsx`, ואז תציע תיקון מינימלי.

Expected: Hebrew sentence reads right-to-left. Inline code stays left-to-right and does not reorder the surrounding Hebrew.

Hebrew + file path + line number

השגיאה נמצאת ב־`/Users/me/project/src/components/Header.tsx:42`, תבדוק אם ה־prop בשם `isOpen` מועבר נכון.

Expected: The file path and line number remain LTR as one isolated technical fragment. Hebrew punctuation and wording remain in the correct visual order.

Hebrew + URL + GitHub reference

תפתח את https://github.com/openai/codex/issues/30129 ותבדוק אם #26250 מתאר את אותה בעיית RTL.

Expected: URL and issue number remain readable LTR; the Hebrew sentence remains naturally RTL.

Hebrew + Markdown list

צריך לבדוק:
- האם `README.md` עודכן
- האם `pnpm build` עובר
- האם הקישור https://example.com/docs תקין

Expected: Bullets align naturally for RTL text, while code/URL fragments remain LTR and do not shift punctuation.

Hebrew + numbered steps

1. פתח את `Settings`
2. שנה את השפה ל־עברית
3. שלח הודעה עם `git status`

Expected: Numbered-list markers, Hebrew text, and inline code all remain visually coherent.

Hebrew + table

| קובץ | פעולה |
| --- | --- |
| `src/main.ts` | לבדוק import |
| `README.md` | לעדכן הוראות |

Expected: Table columns remain stable; inline code remains LTR; Hebrew cell text remains readable.

Hebrew + terminal output

הרצתי:
git status

וקיבלתי:
modified: src/app/page.tsx
untracked: docs/rtl-notes.md

Expected: Hebrew explanatory text is RTL, but terminal output remains LTR and monospaced.

Expected behavior

  • Hebrew messages should be detected as RTL and right-aligned where appropriate.
  • Mixed Hebrew/English text should follow correct Unicode Bidirectional Algorithm behavior.
  • Inline LTR fragments such as code identifiers, filenames, paths, URLs, branch names, commands, stack traces, and GitHub references should be isolated from surrounding Hebrew text.
  • Code blocks, terminal output, diffs, logs, paths, URLs, and tables should remain LTR and readable.
  • Lists, bullets, numbered steps, tables, Markdown, and inline code should not visually reorder punctuation or break the sentence.
  • The composer should behave correctly before send, not only after the transcript renders.
  • The sent user message and assistant response should render consistently after reopening the thread/task.
  • Changing the app language to Hebrew should improve interface directionality, but message rendering should still be correct even when the UI language is English.
  • Sidebar conversation/task titles and Codex panels should handle Hebrew titles naturally.

Actual behavior

  • Hebrew and mixed Hebrew/English coding messages are not consistently rendered with RTL direction.
  • Text alignment often appears LTR even when the dominant paragraph language is Hebrew.
  • English/code fragments can visually disturb the surrounding Hebrew sentence.
  • Punctuation, parentheses, issue numbers, paths, and inline code can appear in confusing positions.
  • Markdown lists, numbered steps, and tables are at risk of becoming visually hard to scan.
  • Code-oriented content needs to remain LTR, but ordinary Hebrew prose should not inherit LTR behavior from surrounding technical UI containers.
  • Changing the app language to Hebrew is not sufficient if the chat transcript/composer still lacks message-level direction detection and bidi isolation.

Screenshots or screen recording to attach

Please attach:

  1. A screenshot of the composer before sending one of the examples above.
  2. A screenshot of the sent message in the conversation.
  3. A screenshot of the assistant response containing mixed Hebrew, inline code, paths, and Markdown.
  4. If possible, a short screen recording showing:
    • typing/pasting the Hebrew mixed-content example
    • sending it
    • comparing the desktop app rendering with the same text in ChatGPT web or another app that handles BiDi correctly
  5. Include the app version from About ChatGPT / About Codex.

Impact

This materially affects Hebrew-speaking users, especially developers using Codex/GPT workflows.

The affected workflow naturally combines:

  • Hebrew instructions
  • English code
  • terminal output
  • file names and paths
  • URLs
  • GitHub issue/PR references
  • Markdown
  • numbers
  • mixed Hebrew/English explanations

When RTL/BiDi handling is wrong, the user has to mentally reconstruct the sentence order, verify whether code/path fragments are in the right place, and often rewrite messages in English to avoid UI breakage. That reduces productivity and makes the product significantly harder to use for RTL-language users.

Suggested technical fixes

  • Apply dir="auto" or equivalent direction detection to user and assistant message blocks.
  • Use text-align: start rather than hardcoded left alignment for natural paragraph alignment.
  • Apply bidi isolation to inline technical fragments:
    • unicode-bidi: isolate
    • <bdi> where appropriate
    • direction-aware rendering for inline code, URLs, filenames, commands, branch names, and issue references
  • Keep code blocks, terminal output, diffs, logs, and preformatted text explicitly LTR:
    • direction: ltr
    • unicode-bidi: isolate
    • stable monospaced layout
  • Test both composer and transcript rendering.
  • Test after send, after editing/regeneration, and after reopening a conversation/task.
  • Add a regression fixture suite for Hebrew, Arabic, Persian, and Urdu mixed with:
    • English words
    • numbers
    • Markdown
    • inline code
    • fenced code blocks
    • file paths
    • URLs
    • GitHub references
    • terminal output
    • tables

Why this may feel like a regression

The issue becomes much more severe with the integrated Codex/GPT desktop workflow because coding conversations contain far more mixed-direction technical content than ordinary chat. Even if basic Hebrew chat was previously tolerable, Codex-style usage exposes many more BiDi edge cases in the composer, transcript, side panels, file references, terminal output, and Markdown rendering.

Activity

  1. added
    bug
    app
    on Jul 9, 2026
  2. github-actions commented on Jul 9, 2026

    @github-actions
    Contributor
  3. aagprojectsteam-max commented on Jul 11, 2026

    @aagprojectsteam-max

    I can reproduce the same issue on Windows.

    My app details:
    ChatGPT / Codex desktop app
    Powered by Codex & OWL
    Version 26.707.31428
    Released July 10, 2026
    Windows

    Assistant messages in Hebrew remain visually left-aligned and are difficult to read when mixed with English terms, inline code, paths, commands, URLs, or punctuation.

    I also tried dir="rtl", text-align:right, and Unicode RTL markers, but they did not fix the assistant message bubble alignment.

    I opened #32490 before noticing this issue. This appears to be the same Windows Hebrew/RTL desktop rendering problem.

  4. ekurer commented on Jul 21, 2026

    @ekurer

    Adding another confirmed reproduction from a Hebrew-speaking user on macOS using the current Codex desktop app.

    This affects ordinary assistant responses as well as coding conversations. Hebrew paragraphs remain visually left-aligned, and mixed LTR content such as English terms, URLs, numbers, and product names disrupts the sentence order. Longer responses become difficult to scan and read, often forcing a switch to English or the web interface.

    Please prioritize message-level RTL direction detection and proper BiDi isolation. This is a significant usability and accessibility issue for daily Hebrew use.

  5. rshouker commented on Jul 26, 2026

    @rshouker

    This is not a MacOS only problem, it's Windows too.
    Now that this is the official ChatGPT app, the old ChatGPT app supported RTL paragraphs correctly, I consider this a regression. Please fix it ASAP.

  6. shainahumsn-spec commented on Aug 5, 2026

    @shainahumsn-spec

    Confirming the same on Windows 11 (not only macOS)

    Same Hebrew RTL/BiDi breakage on Windows, so this is not macOS-specific.

    Environment

    • Codex app 26.721.81911, codex-cli 0.146.0-alpha.3.1
    • Windows 11 Pro, Hebrew (Israel), RTL

    What happens: any assistant message mixing Hebrew with English identifiers, file paths or inline code renders in a visually shuffled order. A sentence like "מתעד איך README.md הותקן ועובד" comes out reordered and has to be re-read to be parsed.

    No local workaround exists. I verified there is no setting, flag or environment variable that affects this: nothing RTL/Hebrew/Language/Locale/Direction related in ~/.codex/config.toml, nothing in the app's internal settings, no matching env var, and no built-in feature flag.

    Worth noting - the model itself handles RTL correctly. I asked Codex to generate a Hebrew HTML page and the output was flawless RTL, including unicode-bidi: embed on inline code that it added on its own initiative. So this is purely a chat-surface rendering issue, not a model capability issue. That should make it a contained fix.

    The dir="auto" + unicode-bidi: plaintext + text-align: start approach proposed in the related issues would resolve it.

  7. soguy commented on Oct 18, 2026

    @soguy

    Hebrew RTL/BiDi Rendering Issues in the New Unified ChatGPT Desktop for macOS

    I'm experiencing RTL (right-to-left) and bidirectional text rendering issues in the new unified ChatGPT Desktop application for macOS, particularly in Markdown lists containing both Hebrew and English.

    Environment:

    • Application: ChatGPT Desktop (new unified application)
    • Platform: macOS
    • Version: 26.1013.40934
    • Release date: October 16, 2026
    • Language: Hebrew (RTL)

    More precise reproduction scenario (confirmed):

    1. Open a regular conversation in Hebrew in the unified ChatGPT Desktop app.
    2. Ask for a response structured as:
      • A Markdown heading in Hebrew.
      • A normal paragraph in Hebrew.
      • A numbered or bulleted Markdown list where each item contains both Hebrew and English, such as an English technical term followed by a Hebrew explanation.
    3. Observe the alignment and text direction of the list compared with the preceding paragraph.

    For example, ask ChatGPT:

    כתוב כותרת בעברית, פסקה קצרה בעברית ואחריה רשימה ממוספרת של חמישה כלי תוכנה. בכל שורה ברשימה שלב שם מוצר באנגלית, למשל ChatGPT Desktop או Visual Studio Code, עם הסבר בעברית.

    Example of the relevant Markdown structure:

    ### כלי פיתוח מומלצים
    
    אלה כמה כלים שימושיים לעבודה על פרויקטים.
    
    1. **ChatGPT Desktop** - אפליקציה לשיחות ולעבודה עם AI.
    2. **Visual Studio Code** - סביבת פיתוח לכתיבת קוד.
    3. **GitHub Integration** - חיבור לפרויקטים וניהול Pull Requests.

    Observed behavior:

    • Regular Hebrew paragraphs and other formatting can render correctly.
    • However, when a heading and paragraph are followed by a numbered or bulleted list containing mixed Hebrew/English text, the list can render with incorrect LTR alignment or direction.
    • List markers may appear on the left instead of the right, and the mixed-language content becomes hard to read.
    • The behavior is inconsistent across Markdown elements. This specific heading → paragraph → mixed-language list pattern reproduces the problem in my current app version.

    Expected behavior:

    • Hebrew-dominant list items should use RTL layout, including marker placement on the right.
    • English product names, code terms, numbers and links within the items should retain their natural LTR order.
    • Directionality should remain consistent across headings, paragraphs, and lists in the same response.

    Possible regression:

    This may be a regression in the new unified ChatGPT Desktop application. From my recollection, Hebrew RTL rendering appeared to work more consistently in the previous ChatGPT Desktop app, although I cannot confirm that with certainty.

    Impact and request:

    This affects normal ChatGPT conversations, not just Codex or coding workflows. Please investigate RTL/BiDi handling in the conversation Markdown renderer, especially list direction and markers when Hebrew and English are mixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions