Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Align post text based on post language (RTL/LTR) #242

Open
avrhmt opened this issue Nov 25, 2022 · 0 comments
Open

Align post text based on post language (RTL/LTR) #242

avrhmt opened this issue Nov 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@avrhmt
Copy link

avrhmt commented Nov 25, 2022

Is your feature request related to a problem? Please describe.
Currently, the app aligns text in post based on the system language, not based on the post’s language. So for example if a user has its iPhone language set to Hebrew, all posts will be aligned from right to left - including posts in English, and vice versa.

Describe the solution you'd like
I would like the text alignment in posts to vary based on the language of the post itself. So that regardless of the system/UI language, posts in RTL languages will be aligned to the right and posts in LTR languages will be aligned to the left.

Describe alternatives you've considered
There are no suitable alternatives

Additional context
Other apps, including other Mastodon clients, are able to achieve this.
Mastodon posts have language labels (which Metatext doesn’t support currently, but that’s another issue #75 ) and that can be used to determine the language of a post without having to rely on ML for detection (Although that would be better as evidently support for language labels in 3rd party apps is lackluster)

@jzzocc jzzocc added the enhancement New feature or request label Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants