View Single Post
Old 08-13-2018, 07:44 PM   #1
djalma
Member
djalma doesn't litterdjalma doesn't litter
 
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
Regards.

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.
Attached Thumbnails
Click image for larger version

Name:	spanish_keyboard_1.png
Views:	311
Size:	39.9 KB
ID:	165553   Click image for larger version

Name:	spanish_keyboard_2.png
Views:	331
Size:	39.7 KB
ID:	165554  
djalma is offline   Reply With Quote