RTL (Right-to-Left) Text Display Issue

#644
by AbolfazlFa7 - opened

Dear Hugging Face Team,

I hope this message finds you well. I am writing to bring your attention to an issue I have encountered while using your chat platform. As a native Persian speaker, I often use the website with Right-to-Left (RTL) languages like Persian.

However, I have noticed that when Persian text is mixed with English (e.g., for programming-related discussions), the alignment and placement of words become incorrect. This makes the text difficult to read and impacts the overall user experience for RTL language speakers.

To address this issue, I kindly suggest the following solutions:

  1. Add support for dir="rtl" in the relevant HTML elements where RTL languages are used.
  2. Apply appropriate CSS styles, such as:
    direction: rtl;
    unicode-bidi: embed;
    
  3. Optionally, provide a toggle or automatic detection for RTL text to enhance usability.

Your platform is an excellent tool for discussions and learning, and improving RTL support will make it even more accessible and user-friendly for speakers of languages like Persian, Arabic, or Hebrew.

Thank you for considering this feedback. Please let me know if you need further clarification or assistance regarding this matter. I would be happy to provide more details if necessary.

Best regards,
[Abolfazl]
(One of your users and a Persian speaker)

Sign up or log in to comment