Skip to content

Fix string alignment for RTL languages #450

@KSAm3lm

Description

@KSAm3lm

Hey, I am currently translating jfa-go to Arabic, and I found issues regarding the direction of text in some strings.

I believe jfa-go considers all strings as LTR, even if they were assigned as RTL in Weblate.

This would make strings with punctuation have the wrong order (having the first sentence appear at the end of the string in Example 1)
Also, this is evident when a string contains multiple lines (Example 2).

Example 1 (in the old translation):
Image

How it should be:
Image

Example 2:
Image

How it should be:
Image


So far, I've finished translating all sections except the admin page (half of it done). It would be great if you could merge these changes!

One last thing 😅
I was considering opening a separate feature request for Right-to-Left UI support (for RTL languages), but I wasn't sure because I found that the settings page strings cannot be translated yet, which might make that section look weird, and also I'm not sure if it would require a large amount of work.
I'd appreciate your thoughts on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions