New language

If you wish something new in Smart Keyboard, here is the place to ask!
Post Reply
vgevorgyan
Posts: 2
Joined: Wed Mar 24, 2010 10:40 am
Phone: HTC G1, Android 1.6

New language

Post by vgevorgyan »

Hello

It's really good application.

How can I help for adding new language in application?
I want to add Armenian language.

Regards,
Vardan
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: New language

Post by cyril »

Hi
there are 2 steps:

1) describe the keyboard layout. For each key I need the letter and its unicode (UTF-16) code
2) create a dictionary. A list of words sorted by decreasing frequency is enough
Cyril
vgevorgyan
Posts: 2
Joined: Wed Mar 24, 2010 10:40 am
Phone: HTC G1, Android 1.6

Re: New language

Post by vgevorgyan »

Can you send an example?
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: New language

Post by cyril »

You can look at the xml of the stock keyboard:

http://android.git.kernel.org/?p=platfo ... ml;hb=HEAD

It would be something like this
Cyril
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: New language

Post by cyril »

I hope one year was not too long ;)

I added Armenian layout in the latest beta
Cyril
Post Reply