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

Automatic Text Direction Adjustment for Multilingual Comments #1376

Open
ParsaZa79 opened this issue Mar 10, 2024 · 0 comments
Open

Automatic Text Direction Adjustment for Multilingual Comments #1376

ParsaZa79 opened this issue Mar 10, 2024 · 0 comments

Comments

@ParsaZa79
Copy link

Context

Studio name: Dream Farm Studios
Kitsu version: 0.17.15

Description

Summary: Comments containing both English and Arabic text are defaulting to a left-to-right (LTR) text direction, which is not ideal for the readability of mixed-language content. It would significantly enhance the user experience if the text direction could automatically adjust based on the predominant language used in the comment.

Details: Upon creating comments in the comments section that incorporate a mix of English and Arabic, the expected behavior for users familiar with right-to-left (RTL) languages is for the text direction to automatically adapt to the correct orientation. Currently, the text direction is hard-coded to LTR, which disrupts the flow and readability of mixed-language comments, especially for those that are primarily in Arabic. The issue persists with the created comment's display, affecting readability and user engagement negatively.

Proposed Solution: Implement an automatic direction adjustment feature for the text direction property of comments. This feature would detect the primary language of a comment (for instance, by analyzing the first few characters or words) and apply the appropriate text direction (RTL or LTR) dynamically to the created comment. This adjustment should be accurately reflected in the display of the comment post-creation and during any subsequent edits.

Expected Outcome: Automatic adaptation of text direction based on the language used will significantly improve readability and user experience for comments that include multiple languages. This feature would be particularly beneficial in multilingual communities and discussions where users frequently switch between English and Arabic.

Screenshots

image

Specification Details

  • OS: Windows
  • Browser: Chrome, Firefox, etc.
@ParsaZa79 ParsaZa79 added the bug label Mar 10, 2024
@NicoPennec NicoPennec removed their assignment Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants