How to modify Swype to include desired languages only:
In this example Finnish and US English
You will need:
-Swype_1.60.36.8214_HVGA.apk
-Android SDK installed
-basic knowledge of your operating system of choice, I have used Linux and OSX. The procedure will most likely work with Windows as well.
-10 minutes of time
Let's begin
-rename Swype_1.60.36.8214_HVGA.apk to Swype_1.60.36.8214_HVGA.zip
-unzip it
-cd to Swype_1.60.36.8214_HVGA/assets/files
-remove unnecessary languages .zkb.le .zkb.le .htm -full.htm
-remove unnecessary keyboard layouts, Qwertz* Azerty* etc.
make sure you don't delete Qwerty-LS.Latin1.zkb.le Qwerty-PT.Latin1.zkb.le Edit-LS-Latin1.zkb.le Edit-PT-Latin1.zkb.le or any keyboard layouts that your preferred languages us, like
QwertyFiSv-LS-Latin1.zkb.le QwertyFiSv-PT-Latin1.zkb.le for the Finnish language.
-edit the languages.lst file, remove all languages you do not need. Note that there may not be a newline character at the end of the line, otherwise the last language is not usable
If your editor does not support this, leave one language as placeholder after the languages you really want, or create the file using echo -n Language1,Language2>language.lst
the -n parameter for echo (in Linux and OSX at least) suppresses the newline character.
If you do not delete the extra languages they are still selectable in the language selection of Swype, and you will have trouble finding you languages from a list that is too long.
Also you will receive an error message if you accidentally choose a language you have removed.
-cd to Swype_1.60.36.8214_HVGA/assets/keyboards
-remove all unnecessary keyboard images (Azerty*,Qwertz* etc..)
-if you already know how to use Swype and want to further minimize the package size, you can remove files from Swype_1.60.36.8214_HVGA/assets/tutorial
-cd //tools/ (naturally substituting to the real location of our SDK installation)
-make an unsigned APK from the source directory by running this:
./apkbuilder ~/Desktop/Swype-minimal1.60.36.8214_HVGA.apk -u -rf //Swype_1.60.36.8214_HVGA/
-uninstall any previous version of Swype you may already have installed and reboot your phone. I had varying results without uninstalling previously installed Swype with same version number.
-transfer the resulting Swype-minimal1.60.36.8214_HVGA.apk to your SD-card using your preferred method and install as usual with your preferred method (Estrongs etc.)
-enjoy your new minimal Swype. Original 19 language version took over 20 Mb of precious space, my FI-EN version takes only 3.5Mb. YMMV depending of selected languages.
-to make Swype survive factory reset, load faster, prevent you from accidentally uninstalling or updating it to a version with more languages and further reduce the memory usage on /data, push it to /system using your preferred method.
You know how it's done, if not, search the forums as it is out of scope for this tutorial.
Sorry, I have not, nor will I attach a package for your preferred languages. As the title says, roll your own.![]()
This thread gave me the idea to try to minimize the installation: Swype


LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks