[Q] How to add localization & dictionary to AOSP (CyanogenMod) - Android Software Development

I need some help here...
I successfully created high quality prediction dictionary for Croatian language for Gingerbread keyboard. Together with polished out keyboard layout and all translation strings it makes pretty nice Croatian localization. My idea was to add it to the AOSP so others can make use of it, but it turns out that it's not so simple.
Please give me few pointers on how to start. I installed Ubuntu 10.10 x64 in VirtualBox and got repo up and running for now. I'm not sure how (or where) to proceed?!
Should I try to add it to CM maybe? I'm confused.

Related

Adding locales/languages in custom build?

Hi all,
Is there any possibility to add locales and languages in custom build ROM's? I know Haykuro and TheDude include additional locales, but JF isn't. How can I add them myself, is there any way?
got_Thai?
I'm interested in this as well. I believe it can be done without having to cook a new rom though. My interest lies in the Thai language and I found the following sites describing (I think?) how this can be done:
http://www.droidsans.com/content/hack-thai-display-t-mobile-g1-practical
http://g1daily.blogspot.com/2008/11/g1-install-thai-font-on-t-mobile-g1.html
I tried using google translate but the results didnt' help me much. From what I could make sense of, the how-to instructions are in the first link, and the file needed (maybe the fonts?) is in the second.
Anyways, if this helps at all let me know.
hehe i found this thread when I search on google how to add french language to my G1...
The emulator support french (and many others languages). I'm sure we can extract locales on the emulator and put them on the phone.. but no idea how to do that
I'm really interested in this too

Custom Locale with AdvancedLauncher

Hi fellow xda users, this is my first question ever on xda.
As I'm running ROM of CyanogenMod v4.2.5 for the HTC Magic (PVT32B) I also installed HTC_IME.
And only the English dictionary was available for the HTC_IME keyboard.
I couldn't find a way to add other language dictionaries as they were actually already installed but on default disabled on a ROM.
I figured out to apply "nl" to Custom Locale to have a Dutch dictionary, that worked all fine. But it also effects language on some applications like AdvancedLauncher. A lot is mixed up with Dutch and English language, I know this isn't a big deal but I like things clean.
So is there a HTC_IME which includes all languages in the list?
Thanks in advance.
Nobody has a solution?

(Dutch) Language Settings baked in

Hi,
It's great to see the Nexus is already been rooted; great job!!! Would it be possible for you master chefs to bake in some more languages, especially Dutch? Don't really care about the system language, but it would come in handy with the onscreen keyboard...
The Nexus currently support very little languages en More Locale doesn't seem to work for me...
Search the forums.
1 - If only keaboard - install HTC_IME and adb shell -> edit /data/data/htc.ime.android.htcime/shared_prefs/com.* and change number of keyboard to dutch (search for correct, 9=swedish)
2 - Install More Locale
- Install morelocale 2
- Install better keyboard
- install language pack for better keyboard
- set language to dutch in morelocale
- Enable better keyboard in setting
- Use long press in text input field to switch to better keyboard keyboard
- Enjoy dutch corrector
Werkt prima
The HTC_IME doesn't seem to be working for me (I didn't on my G1 as well), but better keyboard does the job!
Would it be possible in future ROM's to include additional languages or is a official release in Dutch needed?
I thinking on importing the Nexus One from US to The Netherlands soon. This because our provider "Vodafone" does not mention a definitive release date... only that they will release the nexus one "later this year".
By importing the Nexus One I hope that I can change the language of T9 of the keyboard to dutch so it suggests dutch words. Is this possible? Are the dutch language files already baked into the Nexus One stock ROM?
What do you guys suggest me to do? Wait for official release or import it from US and install additional language (if required)?
Thanks!
PeRKoniX said:
What do you guys suggest me to do? Wait for official release or import it from US and install additional language (if required)?
Thanks!
Click to expand...
Click to collapse
Flash it with the Cyanogen ROM (or another based on the AOSP) then that includes dutch (& many more).
Original ROM only supports english en some other ones but no dutch
How to get Dutch is explained in different thread
See thread 624416 (sorry, can't post links)

[Q] Is there any guide for changing the language of the ROM??

Hope flash english to chinese.Anyone can offer a guide about how to do this?
Thanks in advance!
clarkkov said:
It's quite easy, but it depends on the ROM you are using. Some ROMs support specific languages (locales). To change the locale go to phone's "Settings" app. Tap on "Locale and text" entry and then tap on "Select locale" entry. Select your desired locale and reboot the device.
Sadly I have not seen Chinese locale in SG3 ROMs (probably because I was never looking for it). There is Korean locale in most of SG3 ROMs. Try flashing a couple of stock ROMs to see if they have Chinese locale or wait if someone replies which ROM is he using to get Chinese locale...
Click to expand...
Click to collapse
Thank you all the same……
Maybe my description is not clear enough ,I mean how to make the ROM support chinese by modifing some files of the ROM.
My english is not good enough,hope you can understand……
clarkkov said:
Oh, that's another matter...This would include translation of the corresponding files in the framework, and the OS itself. All .apk(s) need to be translated, which considers decompiling and the recompiling the whole .apk, hunting down the GUI .xml(s), adding the translation and so on...Isn't there Chinese Android translation/localization?
...and I forgot one very important thing, the Chinese fonts and grammar! This can cause many compatibility issues. As I understand, Chinese characters cannot be translated respectively from Alphabetical characters. This would involve coding/writing a new/separate module for decoding and encoding Chinese characters. If Chinese is similar to Korean, this is the place to start. Word prediction and autocerrect software would have to be written also - for the keyboard, new keyboard layout etc...A lot of work (assuming there is no Chinese localization for Android).
Click to expand...
Click to collapse
Thx a lot.
There are people who do the translation work on the Internet.But they are not able to turn every ROM to chinese version,especially when i find a ROM which i like from xda. I think i should try to find out how they do the work and learn it……

[Q] Right to left language support

I'm new to this, so I apologize if this has been discussed before.
I am trying to get Hebrew support on my phone. Any existing hebrew and hebrew that I type comes out backwards. I'd like to avoid rooting/modding, or whatever since I'm scared of destroying the phone, unless of course there is no other way to do it.
Any help is appreciated.
Thanks
I have the same RTL problem. I live in Israel and I need Hebrew support. Stock 2.2 versions have Hebrew support so SMS messages are displayed correctly. New 2.3 stock ROMs lack this support. They have the fonts, but Hebrew is displayed left-to-right. Is there any way to add Hebrew support to 2.3 ROM? If not, which custom ROMs have good Hebrew support?
Hi,
I think i have a solution.
Download and explores apk Swiftkey X
Keyboard isn't the problem. The problem is how the text is displayed.
RtL support: FIXED
After scouring the internet with no viable solution, I decided to join the world of rooting and modding/Romming (?). I read as much as I could and was as careful as possible. The solution? I rooted my phone and installed ClockWorkMod and CyanogenMod7. It has Hebrew built in and can switch back and forth easily. Built in keyboard also has the option to change languages by sliding the spacebar. I will post step by step soon. It's been over a week and so far everything is working fine. I would suggest backing up your current ROM (after you install CWM but before CM7) just in case.

Categories

Resources