|
|
#1 |
|
Member
![]() ![]() Posts: 14
Karma: 116
Join Date: Feb 2016
Device: Kobo Glo HD
|
About the Spanish keyboard layout
I realice that with the new editor, an improvement of the keyboard layout must be needed for the spanish language:
QWERTY Spanish (Spain) keyboard layout: QWERTY Spanish (Latin America) keyboard layout: Right now using the "ñ" is "awkward", the ¿? and ¡! aren't paired like the others. Minimal Change Proposal (for the "ñ" for now) from the std keyboard layout: Code:
*** ../koreader-1818/frontend/ui/widget/virtualkeyboard.lua
--- virtualkeyboard.lua
***************
*** 212,217 ****
--- 212,218 ----
local lang_to_keyboard_layout = {
el = "el_keyboard",
+ es = "es_keyboard",
fr = "fr_keyboard",
ja = "ja_keyboard",
pl = "pl_keyboard",
Code:
*** ../koreader-1818/frontend/ui/data/keyboardlayouts/std.lua
--- es_keyboard.lua
***************
*** 28,33 ****
--- 28,34 ----
{ "J", "j", "{", "[", "О", "о", "Қ", "қ", "Ù", "ù", "Š", "š", },
{ "K", "k", "}", "]", "Л", "л", "Ж", "ж", "Û", "û", "Ž", "ž", },
{ "L", "l", "_", "-", "Д", "д", "Э", "э", "Ÿ", "ÿ", "Ő", "ő", },
+ { "Ñ", "ñ", },
},
-- third row
{ -- 1 2 3 4 5 6 7 8 9 10 11 12
O/T: PROBABLY for catalonian language, and maybe for people who writes in galician-portuguese (isn't the same as galician), they prefer exactly the same except changing the "ñ" for the "ç". Then a ca_keyboard.lua is needed also. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,784
Karma: 731691
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
It'd be pretty cool if you could submit that as a PR on GitHub.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Thanks djalma for your hints. Do you have the time to submit a PR?. Thank you
![]() Another "feature" I'd want is the "space" name translated to "espacio" or even deleted. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use different Keyboard Layout for prev/next keys | funkybeat | Kindle Developer's Corner | 1 | 06-28-2013 12:58 PM |
| KT Custom Keyboard layout | aranwe | Kindle Developer's Corner | 2 | 09-24-2012 05:45 PM |
| How to modify keyboard layout [help requested] | lorenzoens | enTourage eDGe | 11 | 01-16-2012 03:32 PM |
| Calibre not using same Keyboard Layout | Tehnam | Devices | 2 | 04-04-2011 02:44 AM |
| Switching the Layout of the USB Keyboard. | yokos | iRex | 4 | 09-02-2008 11:55 AM |