[Q] Input language in CM7 - Hero CDMA Q&A, Help & Troubleshooting

I remember having a lot more languages to choose from and now there is only one page. Before I could scroll through a lot.
Understand that I'm not talking about the locale which changes the entire phone and menus to a different language. I'm just speaking about the keyboard input language option. I'm sure Google provides all languages in Gingerbread for this as well as dictionaries for all. Where are they and how can I get/download them?
I speak a 2nd language other than English and have friends who communicate text messages using it. I hate having to switch keyboards or use anything other than stock GB keyboard.

obsanity said:
I remember having a lot more languages to choose from and now there is only one page. Before I could scroll through a lot.
Understand that I'm not talking about the locale which changes the entire phone and menus to a different language. I'm just speaking about the keyboard input language option. I'm sure Google provides all languages in Gingerbread for this as well as dictionaries for all. Where are they and how can I get/download them?
I speak a 2nd language other than English and have friends who communicate text messages using it. I hate having to switch keyboards or use anything other than stock GB keyboard.
Click to expand...
Click to collapse
CM7 for the CDMA Hero no longer includes the full language pack. It may or may not be possible to add them back in after the fact, but if you build the ROM image yourself you can enable the full language pack.

Thanks Jason, I was hoping you see this post So is there a reason why they dumped most of them? After all, keyboard input can be used by others in many languages. Was it just to save space?

obsanity said:
Thanks Jason, I was hoping you see this post So is there a reason why they dumped most of them? After all, keyboard input can be used by others in many languages. Was it just to save space?
Click to expand...
Click to collapse
Relevant change from Gerrit Code Review. It was part of an attempt to shrink the ROM image size. Looks like the rationale was that the biggest change would be the TTS language packs not being included, and that these could be downloaded from the market. But that is separate from the ROM languages being removed.
If you would like, I can submit a change to add the full language pack again.

jasonmaloney said:
Relevant change from Gerrit Code Review. It was part of an attempt to shrink the ROM image size. Looks like the rationale was that the biggest change would be the TTS language packs not being included, and that these could be downloaded from the market. But that is separate from the ROM languages being removed.
If you would like, I can submit a change to add the full language pack again.
Click to expand...
Click to collapse
I hate to be responsible for extra size but if you could add an extra language (polish) to the list of defaults many people from my town Chicago would be happy

In case someone finds this thread here is what I found:
Some info on the android keyboard and the issue:
http://blog.cone.be/2010/08/19/android-keyboard-dictionaries/
http://blog.cone.be/2010/08/20/creating-dutch-dictionary-for-android/
http://code.google.com/p/cyanogenmod/issues/detail?id=1827
http://forum.xda-developers.com/showthread.php?t=1027207
Here is the exact keyboard but with some additional language packs which, unlike Google's, can be added later:
https://market.android.com/details?id=com.moo.android.inputmethod.latin.free
I believe there is already a few submits to Google about this very issue and they will have most languages as an option language pack from their menu which you can choose to install. I hope that's coming up in Ice Cream Sandwich

Related

Changing the Locale Setting

Guys,
At first I'd like to thank to all developers releasing us great firmware. I have a question; how can I configure or edit the Locale settings?
I have seen many Locale's on The Dude's edition, I wonder how can it be done?
Thank you in advance,
I would like to know... can we add Locale's? I am using the JF1.5 build and I only see english--- no biggie, I can just add hebrew (although it does remove chinese) by adding the dejavu fonts. I would just like to be able to choose a locale... like the regular folks.
I'm also interested in this
I've sent a PM to TheDude, haven't got a reply yet.
yochaigal said:
I would like to know... can we add Locale's? I am using the JF1.5 build and I only see english--- no biggie, I can just add hebrew (although it does remove chinese) by adding the dejavu fonts. I would just like to be able to choose a locale... like the regular folks.
Click to expand...
Click to collapse
we alredy have a hebrew onscreen keboard, by Hezi Cohen.
Come on ‪iandroid.com...
Just to potentially bring this issue back out there, I am also interested in this. I have spent the last 4-5 hours scouring the internet with google trying to figure out how to add locales to builds, but I have not succeeded. I love the JF build, all that I am missing is Japanese Local as some of the apps look horrible when localized to English and there is no way to force an app to load in a specific language.
I recently started a new thread on this:
http://forum.xda-developers.com/showthread.php?t=535780&highlight=locales
What I have discovered is:
There is an app, called Custom Locales, that allows you to add new locales. You can either compile it from source, or run the emulator and adb pull it out.
I would try it, but eclipse no longer works on my ubuntu box, so I'll have to find another way.
CustomLocale.apk
So I was able to extract the custom locale app from the emulator... here it is:
http://yochai.dyndns.org:8888/android/apps/CustomLocale.apk
hope this helps someone, somehow!

[Q] Adding other locales

Hello,
I've searched the forum, but I can't find an answer to this question:
Is it possible to add other locales than just English?
Dude's G build had a bunch of them. I'd like to have my national locale on JF1.5 as well.
No one? C'mon guys :/
I think the Locales are in the kernel, because i've never seen some files of them in the system directory for example. Could someone say if this is right?
I´d love Danish locales.
it depends. most of the UI you see belongs to different system apps. you'll have to modify the apks and add you own localization xml files. i guess you can get the original xmls from the source code repositories, otherwise you'll have to figure out a way to decompress the xmls in the apk.
Yeah but the hole system is still in English. The menus for example.
But I wonder why Dude's build has many locales and JF's doesn't?
KozzioU said:
But I wonder why Dude's build has many locales and JF's doesn't?
Click to expand...
Click to collapse
What are the langueges that Dude's build supports ?
Nayyak said:
What are the langueges that Dude's build supports ?
Click to expand...
Click to collapse
Dude's build has plenty, I have a MASSIVE list of them. I remember reading 72 somewher in his massive thread...
What I want to know is how to add different input methods. I'd love to be able to type in Japanese using the proper input rather than copy-pasting.
Locale
I'm searching too how to add other locale... and how to map my AZERTY keyboard...
I'm not sure but I think this is what you're looking for: http://developer.android.com/reference/java/util/Locale.html
There's a custom locales app too, compile that and run it and you can add locales to your phone. The system's language won't change though, each part has it's own XML file that stores the text for that language.
Look at the source of any of the built in apps, you'll see a values directories (more than one if you're looking at a cupcake build).
There are also values-fr, values-de, etc directories. The system loads the text from each of these depending on what locale is chosen.
You can also specify regions (values-en-rGB: English (Great Britain)).
In short, just setting a locale won't change the language of the phone, each individual app has to support that locale. If it doesn't, it uses the default values directory which is in English (US).
ganny said:
What I want to know is how to add different input methods. I'd love to be able to type in Japanese using the proper input rather than copy-pasting.
Click to expand...
Click to collapse
Well, I know that it has been a while since you posted this comment, but there is presently a REALLY good Japanese IME on the marketplace. Just search for simeji. It is made by a guy that goes by the name adamrocker you can find his blog and details about the IME on www.adamrocker.com. He just recently put the latest version on the marketplace, for a while it was just a horribly outdated version and he only released updates on his website.
For now I would just recommend that you do not download one of the local dictionaries as it makes the conversion table generation a little clunky.
the system language can be adjusted in many roms (cupcake based). The thing I am still looking for is the foreign (german) text prediction, I would like to add. The best would be to combine german and english, as I write in both languages.
Haven't found a solution for this yet
Since the threads moving forward, close to the right direction, github has some generous people helping filling in missing locals.

[Q]Remove swype language

Hey.
I'm wandering if its possible to remove all languages but two (English/Norwegian) in swype?
Its a hassle when I try to change the language when writing.. it would be great to just swap between two than scroll the whole list of pointless languages that I never use..
Anyone have a clue?
Tnx in advanced!
bumb..
Noone knows anything?
Switch Languages Quickly
You can Swype in nearly 50 languages. To quickly switch between the current language in use to the last language used, Swype from the Swype key to the language ('EN') key.
Click to expand...
Click to collapse
It's a trick from "10 ways to become a power Swype user" from Tips and Tricks page of swype official website.
It's not a direct answer to your question but i hope it helps
sorry that i cant post a direct link or image on this forum yet
Here is a detailed guide for that:
http://forum.samdroid.net/f10/roll-your-own-minimal-swype-2269/
Hopefully that helps.

Norwegian Apple Wireless Keyboard settings and how to make your own

I have a Norwegian Samsung Galaxy Tab and Norwegian Apple Wireless Keyboard.
Norwegian letters "æøå" on bluetooth keyboards are not supported out-of-the-box, so I searched forums without much luck. I found some helpful threads and decided to solve the problem and share the solution. Others can make their own modified keyboard settings quite easily using the same methods.
Using "adb logcat" I found that the keyboard layout files used were the "Broadcom_Bluetooth_HID.kcm.bin" and "Broadcom_Bluetooth_HID.kl" (might not be the same on other devices - CHECK!). I had the "adb logcat" going while connecting and disconnecting the keyboard, so that I could see what keyboard files were used by the apple keyboard. I made a backup of these and started modifying them, with success.
DON'T BLAME ME IF YOU DESTROY YOUR DEVICE WITH THIS!
I offer no guarantee this will work for everybody!
HOW TO USE:
"Broadcom_Bluetooth_HID.kcm.bin" --> /system/usr/keychars/
"Broadcom_Bluetooth_HID.kl" --> /system/usr/keylayout/
I did this simply by copying the files with the app "Super Manager".
Make backup first. My backups are included just in case.
HOW TO MAKE YOUR OWN KEYBOARD SETTINGS:
I used a hex editor called UltraEdit on pc to change some symbols in the .kcm.bin-file, and I used the "KeyTest.apk" from github to make out all the scancodes and used them when editing the .kl-layout file in Notepad on the phone.
NB! If you use the hex editor, make sure you always change one symbol at a time and always do backups for each little change. Whenever I did some change that the system didn't like, it would turn to using the "qwerty.kcm.bin" as default, then I could use the backup to make it work again.
This is my first attempt of a sort of contribution to this great forum after
using it for years. Hope that others can use what I have learn't to make
their own settings. I have attached my original and edited settings files,
and a picture of the keyboard with scancodes.
I would be so happy if you could provide us with a swedish layout aswell as I am not so into programming!
mikaveikko said:
I would be so happy if you could provide us with a swedish layout aswell as I am not so into programming!
Click to expand...
Click to collapse
+1. . .. . .
Danish would be nice aswell.
Atleast its the same letters and not all that weird swedish stuff... ;-D
Martin
Sent from my GT-P1000 using XDA App
Nice find, qsarklam!
Could you post some info which hex key is which character, and how to identify individual buttons in the hex editor?
mikaveikko said:
I would be so happy if you could provide us with a swedish layout aswell as I am not so into programming!
Click to expand...
Click to collapse
+1 ...........
I have exactly the same issue, need though the German layout. Can anyone from you help me with this?
I would also appreciate the Swedish layout so count me in that one aswell.
Thanks!!!
Spanish anyone?
Same issue, but in Spanish. The wireless Apple Spanish-ISO keyboard mostly works, even the Ñ, but some letters are not right and accented characters like áéíóú don't work. Also, the caps lock key LED doesn't light.
I tried using HexEditor on my rooted Samsung Galaxy Tab to edit the binaries but I can't figure out what maps to what so I'm stuck.
It's just so frustrating to have that nice keyboard sitting around. Would be a waste to have to buy and carry two keyboards, one for the iPhone and another one for the Tab.
To make matters more complicated, I like running the Galaxy Tab's Android UI in English, and I have a Mac so I can't run the suggested bin editors for Windows.
One would think that with the OS X being Unix-based and Android being Linux-based it should be as easy as copying a keyboard layout file from the Mac (or the iPhone) to the Tab, but it seems there is no such luck.
mikaveikko said:
I would be so happy if you could provide us with a swedish layout aswell as I am not so into programming!
Click to expand...
Click to collapse
This thread is great! Anyone who has made a Swedish layout for the Apple Wireless Keyboard yet?
... I have attached my original and edited settings files,
and a picture of the keyboard with scancodes.
Click to expand...
Click to collapse
I've got one apple wireless keyboard also, and i'm remapping it. Does your Fn button works? How did you manage to find the scancodes from the F1, F2 ... keys?
Are you able pass the lockscreen with the keyboard? without touching the screen i mean.
For those who are not rooted or just don't want to mess with a hexeditor I've got an app that takes care of this and allready supports a lot of different layouts:
http://www.apedroid.com/android-applications/external-keyboard-helper

[Obsolete] [MOD] Non-censoring AOSP keyboard (v1.1)

Note: This is no longer really necessary, as Google released an alternative keyboard with an option to disable censorship. This is most useful for CM10.1 users that want to continue using the CM10.1-style keyboard. And fortunately, it's compiled for multiple versions of Android, so more people can use it.
Rationale:
I wish to use a broad vocabulary in my electronic communications. I want to type colorful words with the same user interface as other words (gesture typing). I want prediction. I want automatic spelling correction. By default, Android will recognize dirty words but won't correct their spelling and won't recognize them through gesture typing.
There are two keyboard mods attached: one to try out the keyboard, and one that will survive subsequent ROM flashes via an addon.d script. To restore the old keyboard, flash the restore package. I can also make a corresponding keyboard that supports a few other languages. (German, French, and Russian can definitely be added, but other languages would be harder.)
Build Details/Source
I regenerated the Android keyboard dictionaries from their source XML files, after changing them so the censored frequency was the same as the uncensored frequency. A new keyboard was then built. The base for this was CyanogenMod 10.1, so I'm not sure whether this will work on other ROMs. Please let me know. There are not significant changes from the CyanogenMod source. I built the source tree (which included a tool called "dicttool"), then used dicttool to regenerate main_en.dict file from input files en_whitelist.xml and the modified en_us_wordlist.xml (part of the codebase). Inspiration/information came from:
- http://forum.xda-developers.com/showthread.php?t=2087318
- https://code.google.com/p/softkeyboard/wiki/BinaryDictionaries
Changelog
1.1:
- Used the same predictive weights as the Google keyboard, except where the Google keyboard sets weight=0 (profanity, medical words).
- Added backup/restore capabilities. New users can flash the restore script. (1.0 users will have to install an original LatinIME.apk manually.)
Download
LatinIME-explicit-1.1.zip
LatinIME-explicit-persistent-1.1.zip
LatinIME-restore-1.1.zip
i`m gonna try it pm-ing you ... don`t get it wrong , just trying to see if it works
xanthrax said:
i`m gonna try it pm-ing you ... don`t get it wrong , just trying to see if it works
Click to expand...
Click to collapse
you wont have to send the PM to see if it works lol. if it works, just discard the PM
nah ... only if he/she`s gonna sue me ...:silly:
flashed both zips, doesn't work.
unsungkhan said:
flashed both zips, doesn't work.
Click to expand...
Click to collapse
do you know how to swear against someone ? type fuc... and check if the prediction appears
xanthrax said:
do you know how to swear against someone ? type fuc... and check if the prediction appears
Click to expand...
Click to collapse
lol, I did try, suggestion doesn't show up for curse words
did it work for you?
unsungkhan said:
lol, I did try, suggestion doesn't show up for curse words
did it work for you?
Click to expand...
Click to collapse
sure it does ! well , flashed only the first zip
-=-=-
down below it shows how useful it is when texting your boss
-=-=-
 @fenstre , you can use it on OP :angel:
xanthrax said:
sure it does ! well , flashed only the first zip
-=-=-
down below it shows how useful it is when texting your boss
-=-=-
@fenstre , you can use it on OP :angel:
Click to expand...
Click to collapse
okay, flashed it once again, it works now.
thank you.
I just noticed for some reason "ill" is weighted more highly than "I'll". I'll investigate on Monday. If anybody else notices weird linguistic inconsistencies, please let me know. Cue before cute and cure. I think Google must use a different corpus for this dictionary.
I have flashed twice and still have no luck. I downloaded the first .zip, then flashed it via ROM Manager. The phone rebooted into recovery and I made sure that the package was installed.
What could I be doing wrong?
As I was testing this, I noticed the package sometimes didn't install when I selected it from within ROM Manager. It always installed from recovery, though. Does the md5sum of /system/app/LatinIME.apk start with "19dee2"? It should. Check it with any md5sum checker from Google Play.
Looking forward to next update....
Tap, tap says the wicked G()()GLE N4
Going to try on carbon and going to use it phablet mode on XYE
Sent from my Nexus 4 using xda app-developers app
New version
Version 1.1 fixes many incorrect word weights: I was taking the wrong word frequency from the XML dictionary. Also added a restore script (useful for new users only).
Does it work for Italian too?
Can you supply a change-log with detailed listings of words included or added?
How about a post with requests for words to be added?
Sent from my Nexus 4 using xda app-developers app
Just downloaded. Excited about testing. You would not believe how much the word duck annoys me.
---- update still the occasional duck when swyping but it seems to know what I mean with using tap tap auto correct . love it!
Sent from my Nexus 4 using Tapatalk 2
andynx1 said:
Can you supply a change-log with detailed listings of words included or added?
How about a post with requests for words to be added?
Click to expand...
Click to collapse
I took the words that were already in the phone's dictionary (with prediction frequency=0) and gave them nonzero frequency values. I didn't come up with these values myself, they were stored in a different part of the dictionary (being ignored). The list is exhaustive (see attached). If a word you use isn't on this list, the imperfect workaround is to add it to your personal dictionary in the phone's language settings.
gpvecchi said:
Does it work for Italian too?
Click to expand...
Click to collapse
The Italian dictionary that comes with CyanogenMod or AOSP Android doesn't have any frequency data at all for colorful Italian words, though they are enumerated. If you can find a linguistic corpus (sample of Italian word usage) that contains at least 10 or 20 instances of every swear word, I can use that to generate frequency data. Gesture typing and prediction don't work well without frequency values, because the wrong words would usually be predicted. So get me a large (very large) sample of Italian language, including all types of profanity (not just the words you like), and I'll regenerate the Italian dictionary.
A large sample of Italian dirty words? Once I found a public bathroom with a list written on a wall: it was named "**** dictionary" and it listed a serie of synonymous... It was "open source", so everyone could add it's own. One wall was already filled up...

Categories

Resources