webOS Nation Forums >  Homebrew >  webOS patches > [PATCH] Russian keyboard layout
[PATCH] Russian keyboard layout

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/07/2010, 03:35 AM   #1 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Post [PATCH] Russian keyboard layout

Hi!
I wrote a patch which adds Russian layout for keyboard. After install it you will able to change English/Russian layout by double SYM.

Further information in Russian: shura0.ya.ru

Patch for WebOS 1.4.5 is here
Patch for WebOS 2.01 is here

Last edited by Shura; 04/23/2011 at 02:56 AM.
Shura is offline   Reply With Quote
Old 07/07/2010, 06:30 AM   #2 (permalink)
Member
 
Join Date: Dec 2009
Posts: 46
Likes Received: 0
Thanks: 4
Thanked 12 Times in 7 Posts
Default

Thanks!
I will give it a try.

by the way, you should use Mojo.Char.metaKey instead of 57575
palmpreacher is offline   Reply With Quote
Old 07/07/2010, 06:36 AM   #3 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

Quote:
Originally Posted by palmpreacher View Post
you should use Mojo.Char.metaKey instead of 57575
thank you, I'll try it.
Shura is offline   Reply With Quote
Old 07/07/2010, 06:55 AM   #4 (permalink)
Member
 
Join Date: Dec 2009
Posts: 46
Likes Received: 0
Thanks: 4
Thanked 12 Times in 7 Posts
Default

can't make it running. do i need the uinput service?
installed it using WOQI and i'm using German O2 with 1.4.5.
palmpreacher is offline   Reply With Quote
Old 07/07/2010, 07:39 AM   #5 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

Did you restart Luna or rebooted the phone? It should work.

Quote:
do i need the uinput service?
No, you don't.
Shura is offline   Reply With Quote
Old 07/07/2010, 08:44 AM   #6 (permalink)
Member
 
Join Date: Dec 2009
Posts: 46
Likes Received: 0
Thanks: 4
Thanked 12 Times in 7 Posts
Default

sorry, but still no go.
I did a full device restart.

* webOS 1.4.5 (WR)
* webOSQuickInstall 3.14

see attached screen capture.
do you output something in the log file so i can check the /var/log/messages
should it work anywhere, unisearch included?

Thanks again for your prompt reply.
Attached Images
File Type: jpg russian.JPG (45.7 KB, 105 views) Email Attachment
palmpreacher is offline   Reply With Quote
Old 07/07/2010, 09:15 AM   #7 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

No any logs. Unisearch does not work, First letter always is English. But search in notes or address book works well.

Ok, I'll test when I get home.
Shura is offline   Reply With Quote
Old 07/07/2010, 12:14 PM   #8 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

I've tested and found all works well.
I have German Pre and WebOS 1.4.5
Shura is offline   Reply With Quote
Old 07/07/2010, 05:40 PM   #9 (permalink)
Member
 
Join Date: Jan 2007
Posts: 445
Likes Received: 10
Thanks: 74
Thanked 85 Times in 40 Posts
Default

could you make an Arabic keyboard layout?
amjz is offline   Reply With Quote
Old 07/08/2010, 01:17 AM   #10 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

Is it? Microsoft Arabic 101 Keyboard Layout
Shura is offline   Reply With Quote
Old 07/08/2010, 02:20 AM   #11 (permalink)
Member
 
Join Date: Jan 2007
Posts: 445
Likes Received: 10
Thanks: 74
Thanked 85 Times in 40 Posts
Default

Quote:
Is it? Microsoft Arabic 101 Keyboard Layout
yes, and if you need an Arabic Font there is one called: Nazli.ttf
you can google it to download it for free.

Actually WebOS support Arabic but cannot display or it hides Arabic Font, Arabic SMS's and Web pages appears as blank. do u know why? and how to make webos display Arabic?
amjz is offline   Reply With Quote
Old 07/08/2010, 02:41 AM   #12 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

Try this:
Get Nazli.ttf, rename it to batang.ttf and send to palm in /usr/share/fonts/. Reboot the phone. Arabic font will appear (probably).
Shura is offline   Reply With Quote
Old 07/08/2010, 02:52 AM   #13 (permalink)
Member
 
Join Date: Jan 2007
Posts: 445
Likes Received: 10
Thanks: 74
Thanked 85 Times in 40 Posts
Default

yes i know this, i tried this like others did and still cant display Arabic, all report this and i dont know why this trick works for hebrew and dosnt works for Arabic!
i tried a Hebrew fonts and it works, but Arabic dosnt work!
amjz is offline   Reply With Quote
Old 07/08/2010, 02:59 AM   #14 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

Sorry, but I can't help you.
Palm pre from Germany works with Russian pretty well and displays Russian font from the box. So, I just added Russian layout to keyboard.
I don't know how to add Arabic support.
Shura is offline   Reply With Quote
Thanked By: amjz
Old 07/08/2010, 03:01 AM   #15 (permalink)
Member
 
Join Date: Jan 2007
Posts: 445
Likes Received: 10
Thanks: 74
Thanked 85 Times in 40 Posts
Default

its ok thanks Shura
amjz is offline   Reply With Quote
Old 07/08/2010, 03:02 AM   #16 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

BTW, did you try that font? DejaVu fonts | Download DejaVu fonts software for free at SourceForge.net
Shura is offline   Reply With Quote
Old 07/08/2010, 04:03 AM   #17 (permalink)
Member
 
Join Date: Jan 2007
Posts: 445
Likes Received: 10
Thanks: 74
Thanked 85 Times in 40 Posts
Default

same thing, only hebrew displayed and no Arabic.
i think this is a system thing in webos.
anyway thanks for ur help shura
amjz is offline   Reply With Quote
Old 07/11/2010, 03:12 AM   #18 (permalink)
Member
 
Join Date: Dec 2009
Posts: 46
Likes Received: 0
Thanks: 4
Thanked 12 Times in 7 Posts
Default

Shura,
you are the best!

I don't know why but I can't install the patch using WOQI. I edited the mojo.js file and sent it manually. works perfectly!

I did some cosmetics (changed the language indication size, color and position, reduced timeout to 700ms) and of course changed the keyboard mapping to Hebrew.

The entire Palm Pre Israel community thanks you.
palmpreacher is offline   Reply With Quote
Old 07/11/2010, 05:57 AM   #19 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

I'm glad to hear!
Shura is offline   Reply With Quote
Old 07/29/2010, 04:57 PM   #20 (permalink)
Member
 
Join Date: May 2004
Posts: 189
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Smile hey is there a way...

Is there a way to have both russian and hebrew input not just one .....?
Rabbi-emu is offline   Reply With Quote
Reply

 

Tags
russian

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0