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

Rework of UK and RU standard layout plus added extended layout (similar to PC keyboard) as optional #1215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Quantom2
Copy link

@Quantom2 Quantom2 commented Nov 17, 2024

As a native UK and RU speaker and newcomer from other keyboard apps, I found RU and, mostly, UK layouts so much uncomfortable, in comparing to others, so I come and make rework of exiting layouts

I maked this changes:

  1. Fill language locale_key_texts for both RU and UK, where alternate letter exists
  2. Reworked baze layout, adding more useful popups and variants
  3. Make both RU and UK layouts fully capable to multilanuage typing by 1) and 2), its now possible to fully type UK sentense on RU layout and vice versa.
  4. Added extended layouts to more customizable expirience (they similar to some other layouts). Reused extended layout class from Hungarian. No impact on performance

More detail explanation of all changes are in this commit, or in diff compare below.

The changes are final an fully tested by me localy. Keyboard works properly.

All changes are in way described in this guidelines

Why this changes should be in baze Heliboard

Ukrainan:
As a native speaker, usage of 'ї' when it attached as popup to 'і' are not comfortable, because 'ї' it is not just vatiant of 'і', this is separate letter, with separate sound, and it used quite often. For exmple, our analog to english 'she's' or 'belongs to she' is literaly written as 'її'. Not only one, but two of this letter! And, we use he/she much more common in speaking, than in english, so this are much more suitable and overall just less time consuming when you have separate 'ї' letter, instead of 'hold on 'і', choose 'ї', repeat it again to type 'її'. ' Additionaly, keyboard have space for this – third row are anyway densier that 1 even with additional 'ї' key. And lastly, all other keyboards on market added 'ї' as separate letter long time ago with no problem and this make life only easier to native ukrainian speakers.
Additionaly, I had provided old popup with 'ї' to'і', for making change less problematic, but it have problems described there

Ukrainian and Russian both:
The additional locale_key_texts for both languages just overall make typing more flexible and allow proper usage of multilanguage typing now. There no harm in this, only benefits.

Additional hints to layouts provided are added to be consistent with other keyboards on market, that have same options in popups and many people find it wery comfortable to use.

Additional Extended layouts added for more flexibility in overall usage. Since it re-uses already exiting class and code, all work fine with no problems at all, and just add more options, for example ' or ъ as separate keys (refering to nowdays GBoard layout and Samsung Keyboard, with are popular)

Test release provided in my fork, you can download it and see al changes at one. Illustrations to changes awill be provided in below comment within few minutes.

…ar to PC keyboard) as optional;

Rework standard UK and RU keyboards:
UA)
- Added 'ї' as separate letter (it used much more often, just to be optional key in popups)
- Added [ { } } popups to fill empty hint space (similar to PC layout)
- Added ' (apostrofee) suggestion onto 'є' key (similar to oter keyboards and to PC layout)
RU)
Added siggestion to 'ъ' on 'х' key (similar to other keyboards, anyway there was no popups at all)
- Added [ { } } popups to fill empty hint space (similar to PC layout)
- Added 'э́' suggestion similar to other keyboards
Both)
- Improvements to multilanguage typing (now this is possible to sue UK-RU or RU-UK pair, I added letters from other language as popups)
Added)
- UK Extended with separate ' key (used less often than 'ї', but still used pretty often)
- RU Extended, with separate 'ъ' key (similar to full desk PC layout)

(Maybe i forgot something)
@Quantom2
Copy link
Author

Old baze layouts for comparing:
Ukrainian:
зображення_2024-11-17_131228064
Russian:
зображення_2024-11-17_131256324

New baze layouts with new hints, popups and locale_key_texts variants
Ukrainian:
зображення_2024-11-17_131344857
Russian:
зображення_2024-11-17_131405055

New extended layouts:
Ukrainan:
зображення_2024-11-17_131435765
Russian:
зображення_2024-11-17_131454326

Changes in language and layout selector:
зображення_2024-11-17_131526223
Changes in Ukrainian layouts selection:
зображення_2024-11-17_131553379
Changes in Russian layouts selection:
зображення_2024-11-17_131608982

P.S. Sorry for mine custom theme, but all of that work axact the same in baze themes

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.

1 participant