Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
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:	274
Size:	39.9 KB
ID:	165553   Click image for larger version

Name:	spanish_keyboard_2.png
Views:	290
Size:	39.7 KB
ID:	165554  
djalma is offline   Reply With Quote
Old 08-15-2018, 06:53 AM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 724945
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.
Frenzie is offline   Reply With Quote
Advert
Old 09-21-2018, 04:02 PM   #3
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,261
Karma: 2189337
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.
pazos is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:24 AM.


MobileRead.com is a privately owned, operated and funded community.