-
Notifications
You must be signed in to change notification settings - Fork 28
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
RTL (Right to left) problem and suggestion to solve it + asking for new option #18
Comments
|
@T-Pham the issue is that the buttons are swapped where it shouldn’t (and in my case I’m using Hebrew as the device language). You right, I didn’t thought about this option, thanks (: |
This is a bit confusing to me. So, in Hebrew:
|
This is really interesting in fact. Just tried to change my phone language to Hebrew. Now in Safari, the |
@T-Pham It should be like in any language, directions are international. |
Fixed the button labels for RTL languages in version 4.1. I will look into the issue with up/down icons later as this will require adding a bundle to the library because the up/down icons are images. |
Hi, I'v found those characters for up/down arrows, but I think if you can add images that will match safari, mail and etc. (as you can see in the image I'v posted here) it will be better.
|
@T-Pham one more thing I think I'v missed in this thread is asking you the add an option to make the buttons (or at least the Done button) bold, when changing their values from the |
Actually I think the problem with having to repeatedly make the Done button bold in each page can be solved by refactoring on the app side. We can create helpers or subclasses or something else depending on the actual case. The thing is the library does provide a way to make the Done button bold, best practises like DRY can be achieved on the app side. |
I didn't have time to look into the up/down arrow issue. |
Now I remembered that you told me something about doing this via extension.
I think using this library would be helpful: |
When using the library with device that it's main language is RTL (right to left) the right/left arrows are replacing positions and it's a little bit confusing.
Beside fix the arrows to not be
language directional
, I'd like to suggest add an configuration option to use up/down arrows thats won't make this problem with RTL languages to be so visible and also allow choose different appearance.It will be awesome if this configuration will be in the
AppDelegate.swift
so it will change it all over the application.In additional to the last sentence I'd like to ask adding an option to change the buttons as
UIBarButtonItem
and not just as text, so we will be able to change it to buttons likeDone
,Save
etc. that already found as default in the iOS and also translating automatically and make the button bold in some cases, right now the only way to do that is to config it manually to eachUITextField
, it will be much better to have an option to change that at theAppDelegate.swift
.Thanks,
Ido.
The text was updated successfully, but these errors were encountered: