Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] RTL Arabic Direction #294

Open
abdo-ibrahim opened this issue Jan 16, 2025 · 3 comments
Open

[BUG] RTL Arabic Direction #294

abdo-ibrahim opened this issue Jan 16, 2025 · 3 comments

Comments

@abdo-ibrahim
Copy link

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

@abdo-ibrahim abdo-ibrahim changed the title [BUG] [BUG] RTL Arabic Direction Jan 16, 2025
@mowentian
Copy link
Contributor

you mean app? ios ver 1.0.2 is rtl

Image

@mowentian
Copy link
Contributor

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

@Morrigan-Ship
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants