Right-to-Left Support in chats reposnses

Please add support for Right-to-Left text direction in chat responses. This is a critical feature for Arabic users.

RTL support is only needed for chat responses, not for the overall UI.

I let AI explain the issue since I’m not a technical guy

Explaining RTL (Right-to-Left) Issues with Mixed Arabic-English Text

The Problem

When Arabic text (RTL language) contains English words (LTR language) and the interface doesn't properly support RTL, the text becomes confusing and hard to read because:

Visual Example

Without RTL support (WRONG):

.Python programming language ال أنا أحب 

The sentence reads incorrectly - English words appear in wrong positions.

With RTL support (CORRECT):

أنا أحب ال Python programming language. 

The sentence flows naturally from right to left, with English embedded correctly.

Why This Happens

  1. Arabic reads right-to-left (←)

  2. English reads left-to-right (→)

  3. Without proper RTL support, the browser/app doesn't know how to handle bidirectional text (BiDi)

  4. Text alignment, punctuation, and word order get scrambled

Real User Impact

  • Readability: Users can't understand responses properly

  • Professionalism: Looks broken and unprofessional

  • User experience: Frustrating to parse jumbled text

  • Code/technical terms: English variable names, commands, or technical terms appear in wrong places

The Technical Fix Needed

/* Add this to the chat message container */ .chatbot-message { direction: rtl; text-align: right; unicode-bidi: embed; } 

Or detect the language and apply dir="rtl" attribute dynamically to Arabic messages.


Bottom line: Without RTL support, Arabic responses with English words look like scrambled nonsense to Arabic users. 🔄

Thank you

Please authenticate to join the conversation.

Upvoters
Status

Open

Board
💡

Feature Request

Date

3 months ago

Subscribe to post

Get notified by email when there are changes.