anytype-ts icon indicating copy to clipboard operation
anytype-ts copied to clipboard

Deep Frustration: Lack of Full Arabic Language Support and Auto-Text Direction Issues 📝

Open Wyetgf opened this issue 6 months ago • 0 comments
trafficstars

Have you read a contributing guide?

  • [x] I have read CONTRIBUTING.md
  • [x] I have searched the existing issues and didn't find any that were similar
  • [x] I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Problem Description: Currently, there is no full support for the Arabic language in the interface or in the text writing experience.

Arabic text faces multiple issues: • When writing Arabic, the application does not automatically switch to right-to-left (RTL) direction. • When using plugins (such as Anytype), the text initially starts left-to-right (LTR) and then inconsistently switches to RTL when adding bullet points or new lines. This causes a confusing and frustrating writing experience for Arabic users. • When copying Arabic text, the copied text forcibly becomes left-to-right (LTR), even though Arabic should remain right-to-left (RTL). The biggest issue is that after pasting, it is impossible to manually fix the text direction back to RTL, making the copied content look completely broken and hard to read. This behavior makes the application almost unusable for Arabic writers.

Image

https://github.com/user-attachments/assets/c8ba17ff-7207-45a9-937d-654c98eaac41

https://github.com/user-attachments/assets/fcd762b6-31bf-4e86-84c1-bc72403e7c08

Expected Behavior

Proposed solution: • Add full Arabic language support for the interface and user experience. • Implement automatic right-to-left (RTL) text direction whenever Arabic is detected or selected. • Fix the inconsistent text behavior in plugins and rich-text components when handling Arabic. • Ensure that copying and pasting Arabic text preserves the correct right-to-left (RTL) direction. • Add a setting that allows users to manually set the default text direction for their documents and blocks.

Providing these features would significantly enhance the usability for Arabic speakers and reflect stronger inclusivity for right-to-left languages.

Steps To Reproduce

Steps to reproduce: 1. Open the application. 2. Use a plugin to start writing (e.g., Anytype). 3. Type a sentence in Arabic. 4. Add a bullet point or a new line. 5. Notice the inconsistent switch between LTR and RTL. 6. Copy a piece of Arabic text. 7. Paste it into a new block or document. 8. Observe that the pasted text is aligned left-to-right without any way to correct it to right-to-left.

Environment

- OS: 15.4.1
- Version:0.46.4

Anything else?

No response

Wyetgf avatar Apr 26 '25 14:04 Wyetgf