Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Howto: Limit swype to the languages you use

    Reply
    Page 1 of 3 | 1   2     3   | Next
    Vaskinn | # 1 | 2011-12-02, 18:26 | Report

    Doing this wrong may mess up your swype keyboard, seriously messing it up may even break the regular keyboard and leave you with a phone that is unusable without a reflash.

    At the time of writing this has seen very little testing and there may be issues that haven't yet been found. If you don't feel confident you'll be able to reflash your phone if you need to, don't do this yet.

    You need developer mode for this method. It may be doable with file browsers and text editors but I haven't tried that (please post instructions if you do and make it work)

    0: Back up everything, copy the backup off the phone (to a computer or similar)
    1: Open xterm
    2: devel-su
    3: provide the password (rootme)
    4: cd /usr/share/swype/data
    5: cp languages.lst languages.lst.bak
    6: edit languages.lst in your favorite editor (real men use vi) to remove unwanted/unused languages. Don't use Nano. Nano does unmentionable things* to unmentionable objects**, and will make swype have an error.
    7: enjoy



    *: Changes encoding and/or adds byte order marker and/or adds helpful line breaks. Or something like that.
    **: Files

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Vaskinn; 2011-12-05 at 16:04. Reason: typo and added warnings
    The Following 14 Users Say Thank You to Vaskinn For This Useful Post:
    ajalkane, benny1967, BluesLee, ejasmudar, F2thaK, flof, jalyst, lolloo, Manatus, mvladivostok, PhatApteryx, sgentils, Transcend, Tualatin

     
    Losap1 | # 2 | 2011-12-03, 09:49 | Report

    Wrong thread...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flof | # 3 | 2011-12-03, 12:39 | Report

    I'm getting a Swype Database error when I try to choose the last language in my list (German,EnglishUS). Does anyone have an idea what I did wrong?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ossipena | # 4 | 2011-12-03, 13:46 | Report

    Originally Posted by flof View Post
    I'm getting a Swype Database error when I try to choose the last language in my list (German,EnglishUS). Does anyone have an idea what I did wrong?
    you're probably getting wrong one thing: this doesn't work so well, it is quick and dirty hack that probably doesn't work if you delete stuff between some languages...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    F2thaK | # 5 | 2011-12-03, 13:53 | Report

    I dont really see the point of deleting the unused languages anyway. Id rather remove the languages button.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Vaskinn | # 6 | 2011-12-03, 18:39 | Report

    Originally Posted by flof View Post
    I'm getting a Swype Database error when I try to choose the last language in my list (German,EnglishUS). Does anyone have an idea what I did wrong?
    The original languages.lst doesn't have a comma after the last character. Dis you leave the one that was behind your last language?

    I also made sure to use the regular keyboard while making the changes. I don't know how this will behave if you change the file while using swype.

    Originally Posted by ossipena View Post
    you're probably getting wrong one thing: this doesn't work so well, it is quick and dirty hack that probably doesn't work if you delete stuff between some languages...
    Yep. Quick and dirty. But working without problems for me so far. I'll edit the original post to add appropriate warnings. If anyone is having problems after doing this I recommend putting back the copy of languages.lst, if it still fails after that: attempt to reinstall swype packages, or reflash.

    Originally Posted by F2thaK View Post
    I dont really see the point of deleting the unused languages anyway. Id rather remove the languages button.
    Some of us use more than one language. If you use only one I can see why you'd prefer to get rid of the button, but I have no idea how to do that. (Except the first step: back up everything. Because if you manage to break the regular keyboard in the process you'll pretty much have to reflash)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flof | # 7 | 2011-12-03, 23:04 | Report

    Originally Posted by Vaskinn View Post
    The original languages.lst doesn't have a comma after the last character. Dis you leave the one that was behind your last language?

    I also made sure to use the regular keyboard while making the changes. I don't know how this will behave if you change the file while using swype.
    I tried both with and without trailing comma, also looked for whitespace or line breaks, all makes no difference.

    Tried again with Swype disabled in System preferences during the change, same outcome.

    It's a pity, changing between 2 languages with a short press of the button would be extremely handy (also I'm used to being able to pick my languages from Swype on Android).

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Vaskinn | # 8 | 2011-12-04, 09:44 | Report

    Does it work properly if you restore the file as before?

    When exactly do you get the error message?

    What is your version of swype? ("dpkg -s swype-keyboard")

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flof | # 9 | 2011-12-04, 10:38 | Report

    Originally Posted by Vaskinn View Post
    Does it work properly if you restore the file as before?

    When exactly do you get the error message?

    What is your version of swype? ("dpkg -s swype-keyboard")
    After restoring the backup file, it works fine again.

    The error pops up when I choose the last language in the list, no matter whether I'm cycling through languages with short presses on the language button or picking it from the language list after a long press.

    When I append a third language to the list, the second one works, but the third one throws the error.

    Swype version is 1.19.33902+0m6

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to flof For This Useful Post:
    ossipena, Vaskinn

     
    mikhas | # 10 | 2011-12-04, 13:03 | Report

    Please use the public bugtracke if you think there's a bug in the language configuration of Swype: https://harmattan-bugs.nokia.com/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to mikhas For This Useful Post:
    Vaskinn

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout