Add support for right-to-left writing direction#363
Add support for right-to-left writing direction#363davidhealey merged 11 commits intodavidhealey:masterfrom
Conversation
|
Hey @EmilJunker , great work, thank you! I just have some small comments :) Can you send me the APK so I can test it further on my device? Regardless of this effort, in Hebrew we're using a localized units so kcal should be in Hebrew (קק״ל) and g should be ג׳. Thank you! |
|
@yarons Here's an updated APK (since it's built by me it is unsigned and you probably need to uninstall the current version before installing mine) |
And back up your data first |
|
Is this one ready to be merged? |
It is up to @yarons if/when to merge this as he's the one who is going to suffer the consequences 😉 |
210c74e to
1c3511e
Compare
I'll add the missing strings. Although I don't think we need to localize all the country and language names in the dropdown menus. It's fine if they stay in English.
This is not possible according to Stackoverflow: https://stackoverflow.com/questions/28146034/how-to-make-text-align-right-in-selectbox-list-in-android-chrome. If anyone knows a way to do it, please tell me.
That's weird, On my phone, the device dark mode has no effect on the app. And the text should definitely become white when you enable the in app dark mode. Is this related to the RTL layout? What happens when you switch to a different language that doesn't use RTL? |
1c3511e to
15b5fa7
Compare
|
I have made some more improvements to the RTL layout. The unit symbols (kcal, g, kg etc.) and all dialog buttons are now localized as well. Units of existing food items remain unchanged, though. @yarons Here is an updated APK for you to try. This also includes all the latest features from release 3.1.11 and all the locale strings from the crowdin branch, so there really shouldn't be any more untranslated texts. Please try it out and tell me if you think it's ready for release. |
|
@yarons |
|
Energy is translated, all the other issues I've mentioned are still there. I think it's good enough for now, thank you. |
The strings "All", "Default", and "Detect automatically" in integration settings should be translated as well, no? The other issues you mentioned are things I cannot fix, unfortunately.
Great! Then I think we can merge this PR :) |




This is an attempt to add proper RTL (right to left) language support to the app. It's not perfect and there are probably some rough edges here and there, but it's a start.
Here are some screenshots (in Hebrew as it's currently the only supported language for which it makes sense).
Diary page:
Diary settings:
Food editor:
@yarons I feel like you're the expert here. Does this look usable? Is this an improvement over the current version?