translate-tools / linguist

Translate web pages, highlighted text, Netflix subtitles, private messages, speak the translated text, and save important translations to your personal dictionary to learn words even offline

Home Page:https://linguister.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add the right-to-left

leechboy11 opened this issue · comments

commented

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

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.

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.