[GUIDE] Add/Remove Languages to swype keyboard

kyrillos13

Inactive Recognized Developer
Sep 26, 2010
4,279
5,150
0
Athens
How to add/remove languages to swype.



Preparation



* Get a tool capable of working in zip files. I use WinRar. WinZip, Total Commander or anything else should also work.

* Get a Swype Version which works on your device (QVGA for Galaxy 3). Install and test it! This is your base - it has to run propperly so you customize it. You can find swype keyboard swype inside a stock rom.

* Check your swype version & download a swype (With any resolution).

* When i refer to "dummyfile.apk", that is always meant without quotation marks.





Customization



* When you find your swype that suits to your device, we start. I refer to it now as "myswype.apk"

* Open "myswype.apk" in WinRar/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 the other swype with the languages you want here. Of course it is in the same location: "theotherswype.apk/assets/files/" - remember: 3 files per language!

* Open "languages.lst" in any text editor - even notepad will do! (I use Notepad++)

* 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"

* Open "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!





Optional: Customize 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.

* 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



* Download a sign tool from xda (Auto-apk-tool v1.0.7 its nice)

* Open it and press "10". Drag "myswype.apk" to the command and press enter.

* A file will be created (myswype_signed.apk).

* 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.

* We obtained another license file. Right now, it is unknown which languages it supports, but it is from swype 2.7 asia galaxy s. the license we currently use is 2.4.44 based. give it a try, it might work with your language. please also give feedback, which language works/doesnt work. copy it it "assets/files/" and overwrite the exiting license.dat

* Swype languages from swype 2.XX dont work on swype 3.XX!
 

jinxskore

Senior Member
May 8, 2011
225
88
0
Kohima
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???

I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
 

kyrillos13

Inactive Recognized Developer
Sep 26, 2010
4,279
5,150
0
Athens
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???

I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
 

shr33kant

Senior Member
Nov 3, 2010
1,003
325
0
used your guide to add engish uk to wqvga on us english only. it worked perfectly :D have now integrated this uk only swype into my jpq! :D ty!
 

jinxskore

Senior Member
May 8, 2011
225
88
0
Kohima
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
Not working.
Used AutoApkTool you provided. Signed my Swype 3.xx.apk. Got a resulting Swype 3.xx_signed.apk.

Copied to SD.
Then using Root Explorer, copied apk to /system/app
Went to Locale & Text...
Saw Swype Settings (but the was no "Enable Swype" checkbox)
Tried entering Swype Settings. Gives force close.
Uninstalled!!

Went to SD. Tried installing directly by clicking on the Signed.apk.
Installed like any normal app.
Went to Locale & Text...
Saw Swype Settings (this time, there was "Enable Swype" checkbox also):D
Checked it.
Entered Swype Settings. Language, audio & vibration were grayed out, cant select (not that i want them though ;))

Went to text input box, new message compose.
Selected Swype as Input Method.

BACK TO SQUARE ONE. "Invalid License. Will have limited functionality" :eek:
Cant SWYPE at all!!! :mad:
 

kyrillos13

Inactive Recognized Developer
Sep 26, 2010
4,279
5,150
0
Athens
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
 

jinxskore

Senior Member
May 8, 2011
225
88
0
Kohima
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
haha. Oh. is it? LOL:D
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?:confused:
Click install or Root Explorer method?

Thanks for previous help and thanks in advance for reply.:)
 

jinxskore

Senior Member
May 8, 2011
225
88
0
Kohima
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
haha. Oh. is it? LOL:D
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?:confused:
Click install or Root Explorer method?

Thanks for previous help and thanks in advance for reply.:)

EDIT:
It works! It works! It works!!!! Thanks man. U the MAN!!!
But I didnt use the QVGA, I used the WQVGA one.
Didnt sign it again as I saw it was already signed.
Installed it like any other app.
 
Last edited:

raasky

Member
Jun 27, 2011
30
1
0
how can I get Swype Keyboard v3.25 from your rom? Do I have to install it first and then find swype on my Galaxy 3? Can sbd upload it here? :)
 

stubborn_d0nkey

Senior Member
Dec 12, 2010
720
111
0
Mostar
I know this thread is probably forgotten (which is a shame, its great) but I feel like responding regardless.

1.
Extracting Swype from a rom:
  • windows- "Disk internals linux reader" can do apparently do it for windows. Thanks -Vinne2-
  • linux-extract factroryfs.rfs from the rom .tar. in a terminal cd to the folder with the file, then run (as root)
    Code:
    #mkdir mount
    #mount -o -loop factoryfs.rfs mount
    now the folder mount will be like the system folder in yourt phone, so go to the folder app and copy Swype.apk somewhere else.
  • mac - I don't have mac experience, but I think there might be a method similar to the one above for linux
  • Phone
    1. Flash the rom, copy the file from /system/app/ (of course)
    2. Put factoryfs.rfs on your sd card, do the same as for linux (isn't it great when your smartphone can do something that windows cant :p)
2.
Installing your Swype
If you want to install it as a system app, you also have to put libSwypeCore.so in /system/lib. You can find libSwypeCore.so in the Swype apk in the lib folder. If you do this you can also delete the lib folder from the apk to save more space!
You can install it like a normal app (will go to data).
3.
Signing the apk / -linux​
There is no auto apk tool for linux so I made this script (well I didn't actually make it, I stripped down APK manager, so credits to Daneshm90( java is required, and I guess a chmod 755 may be necessary.
Extract, place the apk as Swype.apk in the "Swype-signing" folder, then run the script
Code:
$chmod 755 Script.sh
$./Script.sh

P.S. There was something else I wanted to say,... oh yeah, I dont know if I can post Swype here so if somebody wants it, I can send them the one from kyrillos's cm7/gingy rom (the 20+mb one with a lot of languages), just pm me and hopefully I'll see it soon afterwards :).

I still have the feeling that I'm forgetting something :(

eidt: forgot the attachment :)
edit 2: forgot that our phone is linux based, updated the part about getting Swype.apk from a rom :)
 

Attachments

Last edited:

dadu

Member
Jun 22, 2007
9
1
0
since I'm using Galaxy Tab 7.7, don't really know where to ask but here goes... My phone have Swype and I'd like to add additional language in Swype. How can I do this?
 

dima_mak

New member
Apr 3, 2011
1
0
0
Followed all the steps, but
getting force close when trying to use

If i am trying to install from apk(and not by file delete and copy) I get "application not installed.

What can I do?
I want to add hebrew to my swype on Galaxy 3
 

amnya

Senior Member
Aug 31, 2008
628
219
0
Amman
Hey chaps,
the Swype that comes with any Samsung is version 3.26.92.39150, it comes with many language options but with no arabic. This guy has an earleir version of swype with arabic. http://forum.xda-developers.com/showthread.php?t=1588906

Can you please do me an apk file with arabic files from the link above into a swype of version 3.26.92.39150? Thanks. I tried the steps from the 1st post, but it aint working. I even tried this but did not work:
Rename arabic files to greek ones, and replace the original greek files, in a plan to select greek, but get arabic. but it aint working.

Please advise.
 

awdrifter

Senior Member
Feb 11, 2012
226
9
38
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
 

ppcred

New member
Nov 4, 2011
1
0
0
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
same question.

I'm trying to add portuguese language using swype "add language" function but every try show me "error" so I want to download manually the language dictionary and also add manually to the direction/file where could be located and be "readable" by swype.

Thanks in advance for your help