Man Beast
North Eastern Swat - Asia
Alts:
Erotica Extreme, Millienium, FairyFly
Kills:
1,001,078 (1,024) Losses:
24,402 (36)
Posts: 355
Join Date: 2008 Dec
Downloads: 16
Uploads: 1
|
If Swype is not in your language, follow this simple guide to inject your language into the apk
Quote:
Custom Language Tutorial Thanks To Mad-murdock Creating Lovely Tutorial
Preparation
Get a tool capable of working in zip files. I use Total Commander (www(dot)ghisler(dot)com). WinZip, WinRar or anything else should also work.
Get a Swype Version from Post #1 which works on your device (WVGA, HVGA, X10). Install and test it! This is your base - it has to run propperly so you customize it.
Get this file (http://www.multiupload.com/2YN48F9HJI) from yepayepa containing following languages: Bulgarian,Croatian,Danish,Dutch,EnglishUK,EnglishU S,Finnish,French,German,Korean,Norwegian,Romanian, SerbianLA(reported broken),Slovenian,Swedish - this is a 2.4.44 release, but the languages should work - see below for troubleshooting
If your desired language is not among the listed, there is still hope. There are a lot of swype versions released here. Use the forum search function and check all the swype 2.x versions for your desired file. There is a pretty good chance those files will work - again, see troubleshooting if you encounter problems
Get this tool (http://www.fileserve.com/file/THMsKpz) for the last step.
Unzip "auto-sign-apk.zip" you just downloaded. You should now have an "auto-sign-apk/" folder for later use.
Make sure you have latest Java Runtime Environment (JRE) installed.
When i refer to "dummyfile.apk", that is always meant without quotation marks.
Customization
Copy the .apk from Post #1 which works on your device. I refer to it now as "myswype.apk"
Оpеn "myswype.apk" in Total Commander/Winzip/WhateverYouLike - we wont unpack it‚ we work inside it.
Delete the "META-INF/" Folder inside "myswype.apk"
Go to "Assets/Files" inside "myswype.apk"
Each standard language consists of 3 Files here: "Language.htm", "Language-full.htm", "Language.le" - some complicated languages like korean may consist of up to 5 files.
Delete the Languages you dont need.
Dont delete anything else! Important files are "languages.lst", "license.dat", the two "Numbers-XX-Latin1.zkb.le" files, the four "QwertX-XX-Latin1.zkb.le" files and all .png's!
Now copy additional languages from yepayepa's apk here. of course it is in the same location: "yepayepa.apk/assets/files/" - remember: 3 files per language!
Оpеn "languages.lst" in any text editor - even notepad will do!
Write a list of Languages you wanna use here. The name to use is the name of the .htm file without .htm. This is case sensitive!
The Contents of the original language.lst as an example: "EnglishUS‚Spanish,Italian,PortuguesePT,German "
Оpеn "helplanguages.lst" in any text editor and repeat above steps
Delete unneeded keyboards from "assets/keyboards/". The "SwypeRef*" are QWERTY default‚ the rest is self-explaining like QWERTY or AZERTY. There is no way to see what language needs what keyboard. You either know or you have to test.
Delete chinese help-file from "res/raw/dict_pinyin.mp3". It's only needed if you use chinese.
Recheck all your steps and close your zip-tool!
Оptional: Customizе Skin and Sound
If you wanna change the skin‚ modify the .png files at "myswype.apk/assets/keyboards" - the other .png files in the .apk are only for tutorial and help.
There are some skins at XDA forum, which already made it to a custom .apk file. But its lost in ******** crash.
The one and only soundfile, played when typing or finishing a word, is located at "myswype.apk/res/raw/beep.mp3" - change this if you like
Finalization
Copy "myswype.apk" to the "auto-sign-apk/" folder
Make sure there is no other .apk in this folder (from using this tool before)
run "sign.bat"
press enter two times
rename "your_app_signed.apk" to something useful and move it out of that folder
delete "myswype.apk" in "auto-sign-apk/" folder
consider posting your custom build in the comments, so i can add it in post #3. might save other people some work.
thats it! you are done! install the .apk and have a nice day!
Troubleshooting
If you find your language not working, that usually got one of 3 Reasons:
You messed something up. Recheck your "language.lst" and "helperlanguage.lst" file and see if you have all needed language files in "assets/files"
Your language is not allowed by our included license file. That happens a lot with new languages like the Chinese in 2.10.52. Users reported workarounds with renaming the language to some supported language. Like renaming Serbian to Croation.
The language files you got are not supported by the latest swype version. Rule of thumb is, 1.x swype language files wont work with 2.x language files, but 2.x language files are compatible with each other. As far as i know this rule applys in most but not all cases. So search for another swype version containing your desired language and try that file.
|
Оr bug mе to do it
Whatever works
Last edited by PMSing; 2010-12-21 at 00:05.
|