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

Disable RTL support #725

Merged
merged 2 commits into from
Feb 11, 2025
Merged

Disable RTL support #725

merged 2 commits into from
Feb 11, 2025

Conversation

amire80
Copy link
Contributor

@amire80 amire80 commented Feb 9, 2025

At the moment, the app doesn't support any languages that are written from right to left, such as Hebrew or Arabic.

However, AndroidManifest.xml says android:supportsRtl="true", which is the default value. This causes the app to display incorrectly in English on phones that are set to work in a right to left language.

This patch sets rtlandroid:supportsRtl="false",
so that the app won't try to flip itself for
right to left languages unnecessarily.

If full support for such languages is ever added,
set it back to "true".

At the moment, the app doesn't support any languages
that are written from right to left, such as Hebrew
or Arabic.

However, AndroidManifest.xml says android:supportsRtl="true",
which is the default value. This causes the app to display
incorrectly in English on phones that are set to work
in a right to left language.

This patch sets rtlandroid:supportsRtl="false",
so that the app won't try to flip itself for
right to left languages unnecessarily.

If full support for such languages is ever added,
set it back to "true".
@amire80 amire80 requested a review from a team as a code owner February 9, 2025 04:26
@amire80 amire80 requested a review from KaylaBrady February 9, 2025 04:26
Copy link
Collaborator

@KaylaBrady KaylaBrady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks @amire80!

@amire80
Copy link
Contributor Author

amire80 commented Feb 10, 2025

Nice, thanks @amire80!

Thanks for approving! Is there anything I can do to fix the CI failure?

@KaylaBrady
Copy link
Collaborator

@amire80 I am working on a fix for the CI issue, sorry for the delay!

@KaylaBrady KaylaBrady merged commit 656a786 into mbta:main Feb 11, 2025
4 checks passed
@KaylaBrady
Copy link
Collaborator

Thanks again @amire80!

@amire80
Copy link
Contributor Author

amire80 commented Feb 11, 2025

Thank you for the quick review and the CI fixes!

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

Successfully merging this pull request may close these issues.

2 participants