-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Update hebrew.json #738
Update hebrew.json #738
Conversation
Adding Nikud (Hebrew vowels)
This is my first ever pull request so apologies if I messed something up. I grabbed the json file from Florisboard found here: The nikud work just like other dialectics in unicode so it should just work. |
Core functionality works. Not sure what the variation_selector part of the original json did, there was no equivalent that I could see in the version in florisboard, but everythign seems to work fine, even the . changing to an @ in an email address field. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some changes to the layout:
- I added a few missing vowels
- now the vowels should appear by themselves except for 'ש' and 'ו' (vav) which commonly have a vowel applied to them
That is more consistent with GBoard approach for hebrew diacritic vowels.
Could you try it out? if you liked the changes then please update the json file. Thanks
Isn't it better to update language_key_texts instead of the layout itself? This way it will apply to any Hebrew layout. |
Maybe but if you look at the issue thread you'll see that there is disagreement about where the popups should go. |
@tenextractor I don't think it matters, but it is less convenient to insert diacritics into a text file compared to a json which supports unicode format. Should you want to change the layout, you could use the current layout as a base and make changes to it. |
As there is ongoing discussion, I'm marking this as a draft.
I didn't properly check the layout, only looked at the diff. If e.g. |
i removed the codes from my layout:
in my layout this is the case only for 2 common letters, others just have the diacritic by itself |
So it seems the discussion stopped anyway after I had marked it as draft... Just to summarize from here and issue #735: I'm certainly ok with adding the missing diacritics as popups, and I see the reasoning why the use of a showcase letter as done in the FlorisBoard layout is not wanted. For that reason I clearly tend to favor @codokie's layout (and because it sticks with no-unnecessary-codes for HeliBoard). |
I didn't explicitly state that the variation selector should be removed |
Mainly I don't want to change things people might be used without a good reason. So @russianspy1234 I would like to use @codokie's layout, or do you have some objection on this? |
I think it's best to just copy the Gboard layout for this. |
I have no strong feelings about which layout is used. I just saw a feature request I actually had the ability to complete and posted something. I rarely type in Hebrew and when I do it's usually without vowels. If I was building a layout from scratch I don't think I'd have done it like either of these: I'd put Bet as a popup of Vet / Pei as a popup of Fei, etc. I'd also probably want to put all of the sofits as popups on the regular letters, then all of the common vowels as a popup on one key and the uncommon vowels on another, but that's all getting into reinventing the wheel territory. |
I would like to keep changes to existing layouts small. That reinventing-the-wheel thing could be done in a separate layout. But building a properly designed layout from scratch is probably not simple (assuming you want other people to use it because it's better). |
Yeah that's why I figured it's better to use an existing one. I'm not gonna try to pull a Dvorak on a language I rarely type in |
see discussion in #738 Co-authored-by: codokie <@>
Alright, I updated the layout now |
Adding Nikud (Hebrew vowels) to resolve issue #735. Using the code from the Florisboard json file for Hebrew