claude-code - 💡(How to fix) Fix RTL support for chat panel (Hebrew/Arabic users) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54666Fetched 2026-04-30 06:39:23
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Root Cause

Hebrew/Arabic-speaking developers currently have a broken reading experience in the chat panel. Editor files already render RTL correctly — only the chat UI is affected.

RAW_BUFFERClick to expand / collapse

Feature request

Add RTL (right-to-left) support for the Claude Code chat panel to properly display Hebrew, Arabic, Persian, and other RTL languages.

Current behavior

  • When typing Hebrew/Arabic in the chat input, text appears left-to-right instead of right-to-left
  • Claude's responses in RTL languages also display LTR
  • The chat webview seems to be hardcoded to dir="ltr"

Expected behavior

  • Auto-detect RTL content and render with dir="rtl", OR
  • Provide a toggle/setting for RTL layout

Why this matters

Hebrew/Arabic-speaking developers currently have a broken reading experience in the chat panel. Editor files already render RTL correctly — only the chat UI is affected.

Environment

  • Platform: macOS
  • IDE: Antigravity (VS Code-based)
  • Claude Code: VS Code native extension

extent analysis

TL;DR

Adding support for RTL languages in the Claude Code chat panel likely requires modifying the chat webview to dynamically set the dir attribute based on the input text direction.

Guidance

  • Investigate using the dir attribute with a value of auto to enable automatic direction detection for the chat input and response text.
  • Consider adding a setting or toggle to allow users to manually switch between LTR and RTL layouts.
  • Review the chat webview's HTML structure to ensure it can accommodate RTL text rendering without breaking the existing layout.
  • Look into using CSS properties like unicode-bidi or direction to control the text direction, in case the dir attribute is not sufficient.

Example

<!-- Example of dynamic dir attribute -->
<div id="chat-input" dir="auto"></div>

Notes

The solution may require additional styling or layout adjustments to ensure proper rendering of RTL text. The dir attribute's behavior might vary across different browsers or platforms.

Recommendation

Apply a workaround by adding a setting or toggle for RTL layout, as this seems to be a more feasible short-term solution given the current hardcoded dir="ltr" value.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

  • Auto-detect RTL content and render with dir="rtl", OR
  • Provide a toggle/setting for RTL layout

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING