Skip to content

RTL support in opened translation balloon #502

@NabiKAZ

Description

@NabiKAZ

I know that translation balloon automatically detects right-aligned or left-aligned text and makes RTL or LTR.
But this is based on an algorithm that may be based on the first letter of the character. Sometimes it is wrong.
For example, in Farsi, if the first letter is Farsi, it RTLs it well. But if only the first letter is English, it will be displayed as LTR, which is where the problem begins.

See this example where the whole text is LTR because the sentence starts with AJAX:
firefox_QKQVql23jM

In the case that the correct mode is as follows and in the form of RTL:
firefox_bipb30ulnx

NOW:

🔸I think there should be an option in the plugin settings to set RTL or LTR to force and high priority.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions