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

add the right-to-left #392

Open
leechboy11 opened this issue Aug 22, 2023 · 2 comments
Open

add the right-to-left #392

leechboy11 opened this issue Aug 22, 2023 · 2 comments
Labels
RFC Need to triage

Comments

@leechboy11
Copy link

Please add the right-to-left capability in the translation display.

@vitonsky
Copy link
Collaborator

What exactly translation you mean? In some popup or for full page translation?

For full-page translation we can apply CSS rule direction: rtl on page body element, to make text direction "right to left" for some languages, but we can't ensure it will works for all pages. For example, this approach will not work with https://en.wikipedia.org/wiki/Main_Page only header will changed, but not a content.

On other hand, we can apply this CSS rule to all elements on page, but then we may just destroy whole web page. This is why any translation solution MUST do as minimal changes as possible.

@vitonsky
Copy link
Collaborator

vitonsky commented May 7, 2024

The similar request

on the translation dialog, the on-page one, support RTL langs. make it right to left, or at least put a button for me to set it

image

We should implement RTL option in translation popup.

We should create array with RTL languages and maybe optionally let users to set their own languages associations.

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

No branches or pull requests

2 participants