When the Swedish Pirate Party announced, back in mid-May, that they were the new ISP of The Pirate Bay, it surprised a lot of people. With their latest announcement, that they will run The Pirate Bay from inside the Swedish Parliament, they hope they will surprise people again.
Android: Add a language to the HTC IME keyboard
I like Android OS and cellphones that run that OS and lately, disillusioned by the lack of the official updates, I've been running some custom roms on my Moto Cliq. Custom roms allow me to run different versions of Android OS, or simply run a version similar to stock, but without Motorola's added apps.
One of the things i didn't like much from the stock rom was a virtual keyboard that Motorola decided to supply Cliq with:

Personally, I much rather prefer the virtual keyboard that comes with Sense enabled phones by HTC:

So after I managed to get HTC IME keyboard going, I realized that it also was only in English. That is not a big deal if that the only language you use, however in my case - i needed to have Russian working as well. Sure, I could've installed a Russian-English keyboard from the Market, but that would completely defeat the purpose of using HTC IME.
So I had done some research and finally found a solution for this problem. I hope you will find it helpful:
<Brotip> You will need to have ADB installed and working for this, plus cell phone connected to the computer </Brotip>
Once all set and done, you will need to issue a following command in the console:
<span style="line-height: 14px; white-space: pre;">adb pull /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml com.htc.android.htcime_preferences.xml</span>
This would copy the preferences file for HTC keyboard to your hard drive from the phone and would allow you to edit it. Now, open the pulled file with your favorite text editor and change the following lane:
<span style="line-height: 14px; white-space: pre;"><string name=”keyboard_language”>0<⁄string></span>
to something that suits you. In my case:
<span style="line-height: 14px; white-space: pre;"><string name=”keyboard_language”>8<⁄string></span>
"6" being a code for Russian language. Please take a look at the list of supported languages and corresponding codes:
English 0 Arabic (Egypt) 14 Arabic (Israel) 14 Czech 7 Danish 8 Dutch 11 Spanish 4 Finnish 12 French 1 German 2 Greek 17 Italian 3 Norvegian (Bokmål) 10 Polish 13 Portugese 5 Romanian 16 Russian 6 Swedish 9 Turkish 15
Once that is done, save your file and lets push it back to the cell phone:
<span style="line-height: 14px; white-space: pre;">adb push com.htc.android.htcime_preferences.xml /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml</span>
Done. Now reboot your cell phone and you should be good to go. The keyboard will look something like this:



