So, I got all these translated xml files for MIUI.. How do I implement them? I'm VERY new to this, so a good 1-2-3 guide is appreciated..
Heres the list of xml's:
contacts
contactsprovider
fileexplorer
FM
framework-res
gallery3d
googlepinyin
launcher2
mms
phone
settings
updater
BTW, I'm using MIUI XJ 1.3.5, trying to get danish language. (In apps, at least..)
(The app more locale2 doesn't help, amlost everything goes back to chinese when selecting danish locale..)
If i need to translate some more language, both in the ROM itself and other apps, how do i do that?
Thankyou for your patience with a newbie
Try this guide out.
http://forums.miui-dev.com/showthread.php?1001-How-to-translate-MIUI-rom
You need to replace the values in the string xml files and create a new directory for the language.
But you need to decompile and recompile the rom completely.
Sent from my HTC Desire using XDA Premium App
Ok, thanks, I'll try that.. sounds like a big job though
Sent from my HTC Desire using XDA App
Related
Hi Devs,
Where are the language and locales stored in any rom? I cant seem to find any.
Thanks.
They are stored inside the apks, so you'll need apktool to decode them.
Cool thanks HomerSp. Will have a look at it.
u can explain it to me??
cuz im looking for a way to translate any rom to hungarian and i havent find anything (
Like HomerSp said you need to use the tool to extract the binary encoded xml's.
If you want to make an app support more languages you wil need to add Value values-NL (NL = Netherlands (Dutch)) into the apk itself. repack it up and good to go.
its sounds hard
szalay16 said:
its sounds hard
Click to expand...
Click to collapse
Not really, it's just tiring... The only thing you have to do is decompile an apk with "apktool d apkname.apk", in res/ folder create a folder "values-##" (## are the letters of your locale, i.e: es - Spain - ESpaña), copy "strings.xml" from /res/values/ to your folder, edit it and compile back with "apktool b /folder/path/". Then, you have your app translated in /folder/path/dist/something.apk.
That's it.
Of course, you'll need apktool, but it's really easy to get. It's explained in a thread in this page.
Hi,
how is it possible to add German language to an Android Rom?
I would like to Cook one with German language
Regards
I guess you can do it with morelocal 2
Probably you can add the german resource to all system apks... then you're done
With more locale you'll only be able to use all installed aps in german.
Sent from my ME525 using XDA App
T-Mobile one seems to have german inside. You may try to flash system (by buliding update zip or system.img).
Simplestas said:
T-Mobile one seems to have german inside. You may try to flash system (by buliding update zip or system.img).
Click to expand...
Click to collapse
Thank you. Indeed theres the german language in the US ROM. Unfortunaly I can't replace the files from the china ROM. They don't work. But I'll have a look
Sent from my ME525 using XDA App
I use on my HTC Desire SpazeDog ICS.0.9.0U1 ROM. I have one question.
Please can enyone include letters ( ž, đ ) in t9 dialer search in Contacts.apk. I have a friend which name is Đorđe or Žika...and menu more, and without this letter in T9 serch in Contacts.apk I dont find it.
Please if you can post me Contacts.apk with include this letters in t9 serch I be very gratefull.
I try with original ics spazedog Contacts.apk but they dont have support for this two letters (ž , đ ) like you can see in res/values/strings.xml in next line:
<string name="t9_map_row_3">3deféèêë</string>
<string name="t9_map_row_9">9wxyzýẃź</string>
I try inplement it but after install get Force close.
Any idea what is need to do that!
Thanks again
Why not use another keyboard? I use app called "Multiling keyboard" that can be found on the market. Just download needed dictionaries and configure the app (follow steps indicated in the app itself). I use it for Czech alphabet that has č, š, ř and so on.
---
Asus Transformer Prime - Virtuous Prime
HTC Desire - Sandvold's ICS
mfsieg said:
Why not use another keyboard? I use app called "Multiling keyboard" that can be found on the market. Just download needed dictionaries and configure the app (follow steps indicated in the app itself). I use it for Czech alphabet that has č, š, ř and so on.
---
Asus Transformer Prime - Virtuous Prime
HTC Desire - Sandvold's ICS
Click to expand...
Click to collapse
I use Smart keyboard but that has nothing to do with it. I dont mean about search button in contacts.apk. I mean when I tick digits like 9452 I need to get name Žika but I dont.
t9
Is it possible that no one dont know to do that!!!
Maybe a latin1/utf8/... problem when you edited the file?
You might also compile Contacts.apk from source, there is an excellent wiki page for CM9. Setup the build environment, change the file and run "make Contacts".
t9
jhl80 said:
Maybe a latin1/utf8/... problem when you edited the file?
You might also compile Contacts.apk from source, there is an excellent wiki page for CM9. Setup the build environment, change the file and run "make Contacts".
Click to expand...
Click to collapse
I am not expert and I realy dont understand what I need to do. If you please can try do this for me. You have Contacts.apk in first post.
Thanks again
Hi folks,
I am from a country Albania and it doesn't have a languange pack for this language (as I now), official Gingerbread 2.3.6 from samsung has the albanian languange but cyanogen roms not. I want to translate its self but i don't know how . I search to many forums but without success.
Can anyone help me please..... I would be very grateful.
p.s I WANT TO TRANSLATE CM7 ROM
decompile all apks
change .xmls to your language
compile
use apktool andd xda tutorials
Sent from my GT-S5660 using xda app-developers app
I only know about the hard way. You have to decompile ROM apks one by one, and you will find the language files in /res/values-XX. Find a language you can translate from, if it's english, then values-en. Open strings.xml with a text editor, and translate. Save your work, and send it to a developer to put it in their ROM.
Ps.: If you don't know, how to decompile an apk, search for it on XDA. There are a couple of solutions out there.
Hey guys,
as the title goes, im trying to extract a particular dictionary from the xperia s stock keyboard and plan on putting it in the google keyboard, but i dunno where to start. please help me, i cant find any add-on dictionary for the language i want to add thats why ill do it manually w/ your help of course thanks in advance guys.
Which language?
Sent from my LT26i using xda app-developers app
its the tagalog language, i've managed to extract it now but the thing is, i think its encrypted the file format is .ldb and i cant find for the love of me any tool to open it.
oh...nice language
having this problem too.