[GH-ISSUE #294] [BUG] RTL Arabic Direction #112

Closed
opened 2026-10-26 21:14:30 +00:00 by bsakaguchi · 15 comments
Owner

Originally created by @abdo-ibrahim on GitHub (Jan 16, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/294

Describe the bug
we need deepseek be compatible with The direction of text generated in the Arabic language
as the default direction is ltr but in arabic is rtl, this makes the text difficult to read at some time

Originally created by @abdo-ibrahim on GitHub (Jan 16, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/294 **Describe the bug** we need deepseek be compatible with The direction of text generated in the Arabic language as the default direction is ltr but in arabic is rtl, this makes the text difficult to read at some time
Author
Owner

@mowentian commented on GitHub (Jan 17, 2025):

you mean app? ios ver 1.0.2 is rtl

Image

<!-- gh-comment-id:2597493580 --> @mowentian commented on GitHub (Jan 17, 2025): you mean app? ios ver 1.0.2 is rtl ![Image](https://github.com/user-attachments/assets/0dad1087-3cd0-4f6f-ac52-a948e2ab2096)
Author
Owner

@mowentian commented on GitHub (Jan 17, 2025):

o,i get,this vresion remains some problem,we will make it better at next version

<!-- gh-comment-id:2597507241 --> @mowentian commented on GitHub (Jan 17, 2025): o,i get,this vresion remains some problem,we will make it better at next version
Author
Owner

@Morrigan-Ship commented on GitHub (Jan 17, 2025):

i know how to fix it:
just need to detect type of first character in text box

if first character is Arabic or Persian:
document.body.dir='rtl'

if fist character is english:
document.body.dir='ltr'

just like Telegram messenger

<!-- gh-comment-id:2598502046 --> @Morrigan-Ship commented on GitHub (Jan 17, 2025): i know how to fix it: just need to detect type of first character in text box if first character is Arabic or Persian: `document.body.dir='rtl'` if fist character is english: `document.body.dir='ltr'` just like Telegram messenger
Author
Owner

@JohnBrayden commented on GitHub (Jan 20, 2025):

Also, if we edit the direction to RTL via DevTools, the generated code looks like this:

Image

<!-- gh-comment-id:2603065368 --> @JohnBrayden commented on GitHub (Jan 20, 2025): Also, if we edit the direction to RTL via DevTools, the generated code looks like this: ![Image](https://github.com/user-attachments/assets/a935bad7-4b6b-4f45-8bd9-1a524e2ab8d1)
Author
Owner

@Ndegwadavid commented on GitHub (Jan 29, 2025):

Also, if we edit the direction to RTL via DevTools, the generated code looks like this:

Image

mmmh! interesting direction 🏷

<!-- gh-comment-id:2621140402 --> @Ndegwadavid commented on GitHub (Jan 29, 2025): > Also, if we edit the direction to RTL via DevTools, the generated code looks like this: > > ![Image](https://github.com/user-attachments/assets/a935bad7-4b6b-4f45-8bd9-1a524e2ab8d1) mmmh! interesting direction 🏷
Author
Owner

@abdo-ibrahim commented on GitHub (Jan 29, 2025):

i made a script that fix the Direction you can use it until Deepseek fix this problem
-open the link and install tampermonkey extension based on the browser that you use
-then install script
https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction

<!-- gh-comment-id:2623142435 --> @abdo-ibrahim commented on GitHub (Jan 29, 2025): i made a script that fix the Direction you can use it until Deepseek fix this problem -open the link and install tampermonkey extension based on the browser that you use -then install script https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction
Author
Owner

@Morrigan-Ship commented on GitHub (Jan 29, 2025):

https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction

is it open source?

<!-- gh-comment-id:2623147620 --> @Morrigan-Ship commented on GitHub (Jan 29, 2025): > https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction is it open source?
Author
Owner

@abdo-ibrahim commented on GitHub (Jan 29, 2025):

https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction

is it open source?

yes, actually u can find the script when u install it

<!-- gh-comment-id:2623162678 --> @abdo-ibrahim commented on GitHub (Jan 29, 2025): > > https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction > > is it open source? yes, actually u can find the script when u install it
Author
Owner

@JohnBrayden commented on GitHub (Feb 19, 2025):

https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction

is it open source?

@Morrigan-Ship You will find a collection of open-source repositories here for browser extensions to fix the RTL issue in DeepSeek.

@mowentian I would also like to emphasize the critical necessity of resolving this issue, as it actively prevents a wide range of DeepSeek users from continuing to utilize the platform effectively. Any responses generated by DeepSeek are rendered unreadable due to the RTL problem, which underscores the urgency of fixing this. This is not merely a cosmetic or superficial issue but a significant practical obstacle that consistently hinders our ability to proceed.

<!-- gh-comment-id:2667295010 --> @JohnBrayden commented on GitHub (Feb 19, 2025): > > https://greasyfork.org/en/scripts/525186-dynamic-rtl-ltr-direction > > is it open source? @Morrigan-Ship You will find a [collection of open-source repositories here](https://github.com/JohnBrayden/DeepSeek-RTL) for browser extensions to fix the RTL issue in DeepSeek. @mowentian I would also like to emphasize the critical necessity of resolving this issue, as it actively prevents a wide range of DeepSeek users from continuing to utilize the platform effectively. Any responses generated by DeepSeek are rendered unreadable due to the **RTL problem**, which underscores the urgency of fixing this. This is not merely a cosmetic or superficial issue but a significant practical obstacle that consistently hinders our ability to proceed.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 25, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!

<!-- gh-comment-id:2749709546 --> @github-actions[bot] commented on GitHub (Mar 25, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!
Author
Owner

@DevalGarg129 commented on GitHub (Mar 27, 2025):

Possible Fix
Implement bidirectional text support based on language detection.
Automatically set dir="rtl" for Arabic output in web-based applications.
Use Unicode Right-to-Left Mark (RLM) characters for proper rendering.

<!-- gh-comment-id:2756812823 --> @DevalGarg129 commented on GitHub (Mar 27, 2025): Possible Fix Implement bidirectional text support based on language detection. Automatically set dir="rtl" for Arabic output in web-based applications. Use Unicode Right-to-Left Mark (RLM) characters for proper rendering.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 29, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!

<!-- gh-comment-id:2837088418 --> @github-actions[bot] commented on GitHub (Apr 29, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!
Author
Owner

@github-actions[bot] commented on GitHub (May 13, 2025):

false

<!-- gh-comment-id:2874629667 --> @github-actions[bot] commented on GitHub (May 13, 2025): false
Author
Owner

@MohammedGalal-IT commented on GitHub (May 22, 2026):

Please fix this problem

<!-- gh-comment-id:4516666062 --> @MohammedGalal-IT commented on GitHub (May 22, 2026): Please fix this problem
Author
Owner

@qingkong66 commented on GitHub (May 22, 2026):

@MohammedGalal-IT @abdo-ibrahim

This issue (#294) has been closed by a bot, but the problem persists.

Arabic RTL text direction is not a cosmetic preference. It's a functional barrier for a significant group of users. When generated text is unreadable without workarounds (Tampermonkey scripts), the product is not serving its audience properly.

Other language/region issues have been raised more recently:

  • #1295 (Persian → Chinese output)
  • #1302 (auto-language detection)

This is not an isolated complaint. It's a pattern.

Re-opening this issue may not help, but the signal should not be lost. The team should consider language/region rendering as part of core UX, not an enhancement.

<!-- gh-comment-id:4520834862 --> @qingkong66 commented on GitHub (May 22, 2026): @MohammedGalal-IT @abdo-ibrahim This issue (#294) has been closed by a bot, but the problem persists. Arabic RTL text direction is not a cosmetic preference. It's a functional barrier for a significant group of users. When generated text is unreadable without workarounds (Tampermonkey scripts), the product is not serving its audience properly. Other language/region issues have been raised more recently: - #1295 (Persian → Chinese output) - #1302 (auto-language detection) This is not an isolated complaint. It's a pattern. Re-opening this issue may not help, but the signal should not be lost. The team should consider language/region rendering as part of core UX, not an enhancement.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-V3#112
No description provided.