[Q] How to add language to a ROM - Samsung Galaxy Nexus

Hey there,
Today I went from CM9 to Liquidsmooth v1.5
It's so fast!
But there is a problem, Liquid devs deleted other languages from ROM and I need Arabic/Persian language.
So I got the fonts from CM9 and pushed them to Liquidsmooth ROM and fixed the permissions so now fonts are working in web browsing I can read Persian fonts in webs. (Before it was squares!)
Then I installed Smart Keyboard Pro and downloaded persian language for it from Google Play.
Then I noticed that Persian font doesn't work in the OS itself. I mean, when I switch to persian keyboard, all the letters are "squares" and I can't type.
I just need Persian language for web browsing (that I fixed this part) and typing.
I don't want to translate everything. I want my phone to be in English language only I want to fix typing. and I have a keyboard app that supports Persian language. Just it doesn't show the letters (it shows squares)
So, what should I do? I hope someone help me.
Thanks in advance.
PS: I'm still a newbie in android because I got my phone 2 weeks ago, I didn't have time to learn Android programming and other things but I will do it in near future.

I think I have to edit fallback_fonts.xml and push it to the phone too. Right?
Anyone?

For adding languages you need a Rom with the language you want. In ur case Arabic.
So you download AOSP Rom and then you need to get the "values-ar" and "raw-ar" from every apk you want to translate. Its kinda mayn work. Specially if you never done it before and if you do it just like me ;-)
You need some tools like apktool and zipalign and winrar.
I cant really explain how to do it. Iam not in that.

Basian Mile said:
For adding languages you need a Rom with the language you want. In ur case Arabic.
So you download AOSP Rom and then you need to get the "values-ar" and "raw-ar" from every apk you want to translate. Its kinda mayn work. Specially if you never done it before and if you do it just like me ;-)
You need some tools like apktool and zipalign and winrar.
I cant really explain how to do it. Iam not in that.
Click to expand...
Click to collapse
Thanks for your answer mate. But do I really need to do these? Because I don't want to translate anything. I only want it for typing. Fonts work great in web browsing I got them from CM9 ROM.
Liquidsmooth doesn't show the letters in the keyboard but it works in web browsing.
even the keyboard is not the android keyboard I use another keyboard from Google Play that supports Persian language.
Devs really should not delete languages from roms :crying:

Helping
forum.xda-developers.com/showthread.php?t=2107255
Head down to above link.

Related

Samsung keyboard with 'all' available languages...

Dear Everybody,
At last week I made some research for make Central Europen keyboard available for everybody especially that every people who read XDA usually use tha latest UK ROM as the most fresh, always brand new system software. The UK ROM usually contain everything as the Android system in it is multilingual and has all features for almost everybody, but Samsung Keyboard (and sometimes Swype) is different a little bit from this aspect as these 1-2 softwares depend an your CSC settings. If you use UK ROM you will lose real multilingual keyboards, as for UK these are not really needed.
I'm in Hungary so I need real T9 with the latest ROM so... I made them
Based on Sztupy hints on deodexing the keyboards (lot of thanks for it!) and some research between the system files I got some practice so could make my original requests.
The solution:
On 2.1 (example in Galaxy S) the T9 was integrated the keyboard software itself, so when you deodexed the keyboard from one multilingual 2.1, after you deleted your current Sam's keyboard you could drop the deodexed one made a restart and everything was OK.
On 2.2 the T9 database is totally discrete in T9DB folder but need to use the correct deodexed keyboard software of course.
(You not realy need to backup your original or any ROM, etc, because you can rip all needed files in all situations from the corresponding .RFS files (factoryfs.rfs as that base system and cache.rfs as the CSC thingies))
As I have Galaxy S and Galaxy Tab also, after my research I made all available solution for myself and of course for you (on both device), if anybody wouldn't like to make it again.
This/my current keyboard files made from XWJM8 ROM (2.1) and XWJPI ROM (2.2) as the two latest Central European version, and safely usable with any JP* ROM.
Usage:
0, to safe use you need to swith onto any other keyboard and kill the Sam's one or make a restart. (This is not a real needed step, but for smooth switch this will help you to save yourself from some scary FC when you overwrite your system files...)
1, delete all your current keyboard files with adb or root explorer. The files:
/system/app/AxT9IME.apk
/system/app/AxT9IME.odex
/system/lib/libDHWR.so - lower or uppercase!
/system/lib/libXt9core.so
/system/T9DB - if available - just on 2.2 keyboard!
2, copy all my files into the system folders with the same logic.
/system/app/AxT9IME.apk
/system/lib/libDHWR.so
/system/lib/libXt9core.so
/system/T9DB - just on 2.2 keyboard!
3, for smooth and safe method set the permissions to 777 (rwrwrw)
4, restart your device just for safe.
5, try to set up your Sam's keyboard if there is no input language choices then just enable T9 and select UK as input langiugage, and restart again!
Wow, now you have almost all available T9 with latest Sam's keyboard in any ROM what you currently using.
Languages: (in 2.2, sorry but did not remeber about the 2.1 if anybody would like it...)
Bulgarian, Cestina, Dansk, Deutsch, Greek, English (UK), English (US), Espanol, Suomi, Francais, Hrvatski, Hungarian, Italiano, Nederlands, Norks, Polski, Portugues, Romana, Russia, Svenska, Turkice, ***, Slovenscina, Ukrainian, Estonian, Latvian, Lithuanian, Serbian
Happy new year!
(See my attachment as the keyboard itself!
XWJM8 - the almost latest 2.1
XWJPI - the latest 2.2)
Same things for Samsung Galaxy Tab also available here:
http://forum.xda-developers.com/showthread.php?t=902819
ebola
Good work!
I've really missed proper characters in the ROMs I've tried..
I am also looking for a missing language in Samsung keyboard.
I followed your steps and it looks like all went correctly, but as a result I have the option to change the languages, but my Bulgarian keyboard do not appear.
I am not sure if those files contain all internationalization data, as I installed the Gingerbread keyboard as well and got the same problem with it - there is Bulgarian to select, but does not appear once chosen.
I am recently trying Doc's ROMS with JPY base. Any idea?
Hi boyanovv!
I also tried this simple mod in order to get my native input language on SGS.
Had also the same problem, but after all it worked
Here is how I did (some parts may be useless, but maybe not):
Switched to Swype. Using Root Explorer moved .apk and 2 .so files, didn't had T9DB and .odex file. Uploaded modified files. Rebooted (didn't do 777). Went to settings, set input method to Samsung Keyboard. Disabled XT9, added my language to keyboard, didn't add English. Checked if it works, but didn't. Rebooted. Didn't work. Uploaded T9DB folder to /system/. Rebooted. Enabled XT9, set locale to English UK, removed all input languages. Rebooted. Added my needed languages and changed locale to US, disabled XT9. Rebooted. Worked, even russian
I used 2.2 files and I have DebusROM XXJPY.
regdude - thanx, gonna test your version.. atm I'm using the 2.1 keyboard, only I could get to work, but really preferred the 2.2.
Hi All,
Sorry for delay but I hadn't got free minutes in last days for gadgets, but refreshed the SGT pack with the latest and check this topic also. Without T9DB you will never get predictive dictionary of course but and as I tried to told you don't need .odex file as for usable for everybody I needed to deodex the keyboard software also. You just need that 4 things... The main .apk, the 2 .so and the needed dictionary files in /system/T9DB folder... with selected English and restarted device you need simply get those languages. I tried with not all but lot of them and the keys were correct and got dictionary also. Of course if you don't need you can use just those languages what you need not all but my pack contain lot of...
Hope everybody could use as I tested on 4 devices without problems. ( On Galaxy Tab I got some NEE files what missed from that ROM what I used for the multi pack, but over on it was everything OK. )
Bye...
thank you!
I can't get the one for 2.2 to work. I have follow all the steps in first post.
The keyboard pops up but I can't chose languages.
anyone has got it to work?
Mackzen said:
I can't get the one for 2.2 to work. I have follow all the steps in first post.
The keyboard pops up but I can't chose languages.
anyone has got it to work?
Click to expand...
Click to collapse
Same problem here.. I can set languages in settings.. but I can't slide the _ to change between the languages.. only a few are there. Another time I got it to work, my SMS got quite strange.. half my msgs got changed to Chinese, after I sent them, they were in Swedish on my phone, my girlfriend sent me some msgs back asking if I was joking with her.. lol
2.1 works, though I preferred the 2.2 T9 Keypad.
cant seem to get the 2.2 to work... or the keyboard works... but not the languages...
jornbjorn said:
cant seem to get the 2.2 to work... or the keyboard works... but not the languages...
Click to expand...
Click to collapse
Same problem as me then. With the 2.1, I get at least Swedish, English and Croatian. However.. when I send SMS, sometimes half gets changed to Chinese(I don't see it, but my girlfriend was wondering what I was on when sending her texts in Chinese), I got no idea if it's the ROM or the keyboard that does it. Quite odd though.
After that I found the HTC_IME, it works quite well for me(girl don't get messages in Chinese anymore), but I still prefer the Samsung 2.2, if I could get it to work.
is this working on Darkys rom 9.2 ?
deeaz said:
is this working on Darkys rom 9.2 ?
Click to expand...
Click to collapse
except the above mentioned problems, it should do.. At least it worked on 7.0 or what it was I used back then.
This did not work om my sgs i9000 with darkys 9.2. i did get to sealect the norwegian langue, but it did not work in 3x4 mode.
Thanks for this hint.
Interesting for me is ( all steps done ) that i have all the languages in but when i try to swap them most are not working. Specialy Bulgarian,Surbian ....
Tryed some other like greek or russian they are OK.
any ideas ?
i'm with Darky 9.5 fw 2.2.1 GT-I9000
Hi! Can you enable all languages for Samsung Keyboard on Gingerbread 2.3.3???
I've installed this. Does T9 work. I enable it all everywhere and then try typing 843 on the t9 keypad and it doesn't change it to "the"
or any other word combo i try. Does it work for others. Maybe i'm missing something
you sure you enabled the correct keyboard?
English definitely should work, some of us that use other languages got problems, but English works for.
Also, another proper working T9 is the HTC_IME, you may wanna test it.
jonasl's modded HTC_IME
custom hTC_IME skin by gIMpSTa
AsgardCurse said:
you sure you enabled the correct keyboard?
English definitely should work, some of us that use other languages got problems, but English works for.
Also, another proper working T9 is the HTC_IME, you may wanna test it.
jonasl's modded HTC_IME
custom hTC_IME skin by gIMpSTa
Click to expand...
Click to collapse
That keyboard is terrific!. t9 works great.
Thanks for putting me onto it.
Pity it's stuck in the nexus one forum
ziggy2031 said:
That keyboard is terrific!. t9 works great.
Thanks for putting me onto it.
Pity it's stuck in the nexus one forum
Click to expand...
Click to collapse
yea, I accidentally found it when I was trying to find a T9 keyboard for my HTC Tattoo, since it seems all devs like the gingerbread qwerty keyboard even on the low res 2.8", I tried on the Galaxy S and it worked perfect

[Q] Trouble with CM7.3

Correct me if I'm wrong , but since Cyanogenmod is based on the stock android os, shouldn't it have the normal ,fully functioning , keyboard of gingerbread on this version? It seems to me that although you can choose any input language , there is no auto correct at all or prediction for any foreign language. I need prediction and auto correct for greek because it's really hard to type fast without it.
Is there any way to fix this (maybe dictionaries where kept out because of space and can be found somewhere?)
Edit: Suuure , 2 days and noone has any idea about it ... I worked out that I need a main.dict file to place in the proper folder , but can't find that file anywhere ...
If anyone has a greek gingerbread(AOSP) rom with a working keyboard or even only the dictionary file for 2.3's keyboard Pleeease post a link ?
It doesn't matter that it's build on a stock rom... they might have modified the keyboard to look better and also removed other languages dictionaries to save space and reduce the size of their rom...
you can use better soft keyboards or either download the appropriate dictionary for your phone and inject it into your phone!!!
MIMi King said:
download the appropriate dictionary
Click to expand...
Click to collapse
Gladly mate... But I didn't find any decent dictionaries (or even half-decent)...
I am looking for a source but to no avail.. The keyboard is so annoying to use without any prediction at all , and I've found other problems with it lately... It was the thing that made me just go back to my own 2.29 and just keep the upgraded radio which actually did wonders for both battery and signal...

[DEV]Samsung keypad/Swype with Persian/Arabic/Urdu support on Deodexed ROMs

Previously I posted the same topic on Galaxy s forum and here is the update file for galaxy s2
What does it do:
this update file will add Samsung and swype keyboards with Persian/Arabic/Urdu support to your deodexed roms.
please consider this update has nothing to do with RTL allignment if you like to have RTL support for above mentioned langs follow madmack thread
Why I post this file here:
although the galaxy s update file might work on GS2 but some fonts may cause problem on I9100 ,moreover the swype keyboard on GS2 has some improvements which I prefered to make a new update
Version2 added below, some fonts appear large on screen or keyboard thus I have changed them to fit the screen and keypad layout
How to install:
-Do a backup first
-download this file and install from CWM recovery
(version2 : improvements on fonts)
HTML:
http://www.multiupload.com/6ZBQSTQKAV
(version1)
HTML:
http://www.multiupload.com/4ZTZDEXKCD
I have tested this file on my phone but I can not assure it will work on all roms, please try it and report back for future improvements.
Good work, will give you a feedback.
طاها دوست داريم.....دي
Tested on my custom KH3, i replaced your fonts by KH3 + madmack fonts, no issues for now .
Thanks again.
im sorry for being off topic now but can someone tell me the difference between arabic and urdu? isnt urdu the jordan language? how much different it is? i have slideit with arabic language but i just have contacts to urdu. so whats the difference between these two languages? is the app im using enough or should i change to this?
works fine
Thanks
H-KaN said:
im sorry for being off topic now but can someone tell me the difference between arabic and urdu? isnt urdu the jordan language? how much different it is? i have slideit with arabic language but i just have contacts to urdu. so whats the difference between these two languages? is the app im using enough or should i change to this?
Click to expand...
Click to collapse
urdu have nothing to do with arabic, its a independent language, I think it is used in some countries like Pakistan (I'm not sure about the country)
if you speak in arabic just choose arabic from the keyboard settings, do not worry about other languages
awesome work thx pro for ur effort u just made my day
Urdu is a combined language formed out of a combination of Arabic, Persian, Turkish and Hindi; its main grammar is from Hindi but a bulk of its words and the typeface comes from Persian. It is the main language of Pakistan and the dominant language in Indian Muslims.
update file version2 added to the first post, it has some improvements on fonts to fit the keypad and correct the font display
It has been tested on Criskelo Rom
good job taha ...
Thanks Taha great work.
Sent from my GT-I9100 using xda premium
I tested your V2 on KI3, Swype is working, but samsaung Keyboard get FC.
Please can you check.
wanam said:
I tested your V2 on KI3, Swype is working, but samsaung Keyboard get FC.
Please can you check.
Click to expand...
Click to collapse
Could you please delete T9DB directory from /system (make a backup first) and reboot .
if still have FC flash one more time and wipe cache
Now Im using XXKI3 2.3.5 deodexed and the patch is working without any problem
take a look at the attachments
taha_e said:
urdu have nothing to do with arabic, its a independent language, I think it is used in some countries like Pakistan (I'm not sure about the country)
if you speak in arabic just choose arabic from the keyboard settings, do not worry about other languages
Click to expand...
Click to collapse
ya it is Pakistan. any hope this mod for odexed stock rom?
Thanks alot, Working on foxhound batista rom gingerbread 2.3.5 but the arabic text is not connected to each others.
Hello
If I install this on the latest swype, does this patch maintain the version or does it replace swype?
Sent from my GT-I9100 using XDA App
Added to [ROM] madmack's 2.0 (KI3) [RTL + Arabic support]
Works fine, but the recipient of txt msg can't see Arabic letters (shows as ?????)
There was a warning before I sent the msg from my GS2 to change the input method to automatic. I can't see this option under input method in language in settings.
Any suggestions?
yousif666 said:
Thanks alot, Working on foxhound batista rom gingerbread 2.3.5 but the arabic text is not connected to each others.
Click to expand...
Click to collapse
you need to arabize your rom first, this patch is only keyboard. if you flash the keyboard patch without arabizing then arabic letters are not reshaped or might be in left to right order
hubono said:
Hello
If I install this on the latest swype, does this patch maintain the version or does it replace swype?
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
it will replace your existing swype
phochiom said:
Added to [ROM] madmack's 2.0 (KI3) [RTL + Arabic support]
Works fine, but the recipient of txt msg can't see Arabic letters (shows as ?????)
There was a warning before I sent the msg from my GS2 to change the input method to automatic. I can't see this option under input method in language in settings.
Any suggestions?
Click to expand...
Click to collapse
This issue is not related to the keyboard, please do as below to solve this problem
go to messaging >>> press menu >>> choose settings>>> Input mode >>> and select Automatic
then your letters will show correctly
taha_e said:
you need to arabize your rom first, this path is only keyboard. if you flash the keyboard patch without arabizing then arabic letters are not reshaped or might be in left to right order
it will replace your existing swype
This issue is not related to the keyboard, please do as below to solve this problem
go to messaging >>> press menu >>> choose settings>>> Input mode >>> and select Automatic
then your letters will show correctly
Click to expand...
Click to collapse
Thanks. I did not know how to change input mode. Now all is well
Sent from my GT-I9100 using Tapatalk

Translating MIUI-XJ

OK, complete newb, and very confused. But what is the easiest way to go about translating a language pack for MIUI-XJ?
I signed up at crowdin in the Miui translation section, but the language I want to translate into isn't even in the system. Welsh, btw, Cymraeg, cy.
Should I just work my way through the xmls and then work out how to compile them into a rom later? Anyone got any tips?
Thanks all. If I can get this done it will be only the second (I think) Welsh phone os ever - pretty big news in this small country

[Q] Beanstalk Language Display Problem

first thanks Chromium_ for the great rom!
I can't reply in the dev thread so I have to ask here.
The problem is, I can't see any chinese characters from my phone, e.g. webpage/apps
And if I install other chinese keyboard, i cant see the character on my keyboard neither.
I'm sure he has deleted the language to slim down the rom, as i noticed that some other languages like japanese or korean are also missing.
but can anyone tell me what is missing coz i really need to at least be able see the language!

Categories

Resources