Hello :
Cab for PT dictionary and auto correct
galinha... great release! Thanks a lot! Do you know if there is a way to switch between two languages for autocomplete?
galinha said:
Hello :
Cab for PT dictionary and auto correct
Click to expand...
Click to collapse
I may say, Didn't work at first time!
but..
Correcting setup line: "<parm name="Main_Dict" value="\windows\mssp2_pt.lex" datatype="string" />" in cab file to: "<parm name="Main_Dict" value="\windows\mssp_pt.lex" datatype="string" />
or.. after installation, edit registry key to correct the name file mssp_pt.lex.
Thanks for this dictionary. (I'm portuguese)
Okay. Since a lot of people are starting to link to this thread when people have problems with the hardware keyboard, I thought I would change this post to a guide instead
This guide is using ADB. Guide to root explorer method: http://forum.xda-developers.com/showpost.php?p=8971685&postcount=33 (Credits to the original poster).
1. Paste the following lines in a CMD (windows) or Terminal (mac) and it's assumed that you have root
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
cp /system/usr/keyboard-config/keyprint.xml /sdcard/keyprint.xml
Now you have the keyprint.xml on your SD Card. Open it with your favorite text editor (On your computer).
You will get a file looking like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
*********************************************************************
* ____ _____ _ *
* / ___| ___ _ __ _ _ | ____|_ __(_) ___ ___ ___ ___ _ __ *
* \___ \ / _ \| '_ \| | | | | _| | '__| |/ __/ __/ __|/ _ \| '_ \ *
* ___) | (_) | | | | |_| | | |___| | | | (__\__ \__ \ (_) | | | | *
* |____/ \___/|_| |_|\__, | |_____|_| |_|\___|___/___/\___/|_| |_| *
* |___/ *
* *
*********************************************************************
* Copyright 2010 Sony Ericsson Mobile Communications AB. *
* All rights, including trade secret rights, reserved. *
*********************************************************************
-->
<!--
Keyprint name: QWERTY Swedish/Finnish
-->
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-no-dk"/>
</keyprint>
It's the line
Code:
<script name="latin" keylayout="qwerty-no-dk"/>
We're interested in. "qwerty-no-dk" represents your hardware keyboard layout.
This can be changed to anything found in the layouts folder.
You can see the avaliable languages by typing the following commands (I assume you started a new CMD or terminal)
Code:
adb shell
su
cd /system/usr/keyboard-config/layouts
ls
Now you get a list of all the avaliable languages in your firmware. And can change the keyprint.xml file accordingly.
When you're done, save the file. It's now time to upload it again.
And again, type the following commands, in a new CMD or Terminal.
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
cd /system/usr/keyboard-config/
rm -r keyprint.xml
cp /sdcard/keyprint.xml /system/usr/keyboard-config/keyprint.xml
Now you need to reboot your phone, and you'll have the new hardware layout
ENJOY!
(Oh, and if there's any errors in this guide, please tell me. This is done out of my memory.)
Original post said:
Hey!
I've changed my build.prop file to a NG2 code yesterday, and got the 1.2 update for my X10 mini pro.
However, now the keyboard layout of the hardware keyboard is swedish or something. I want it to be danish!
Æ becomes ä
Ø becomes ö
But å is right.
What file/files should I look in for the config?
I've got danish language on the phone, it's just the layout for the hardware keyboard that's wrong.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=7827223&postcount=88
vlissine said:
http://forum.xda-developers.com/showpost.php?p=7827223&postcount=88
Click to expand...
Click to collapse
hmm thanks. but it didn't work
I've got the file, and as I thought it said swedish / finish layout.
It looked like this:
Code:
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-se-fi"/>
</keyprint>
I've tried changing it to:
Code:
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-dk"/>
</keyprint>
didn't work.
Then I tried:
Code:
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-dan"/>
</keyprint>
And still no luck
Any ideas?
How about qwerty-da?
thekindladies said:
How about qwerty-da?
Click to expand...
Click to collapse
nope
Checked the folder Layouts inside the keyboard-config folder. And in there there's a layout called qwerty-se-fi (like it was when I pulled the keyprint.xml the first time), and there's one called qwerty-no-dk and i've tried changing the keyprint file to qwerty-no-dk, but still no luck :S
nevermind.. played around with the files, and now it works.. don't know what I did
But thanks for your help!
and I was just about to tell you I was going to try it out on my phone. I might do it anyway. I might be asking for your help
thekindladies said:
and I was just about to tell you I was going to try it out on my phone. I might do it anyway. I might be asking for your help
Click to expand...
Click to collapse
hehe.. You just do that
think the trick is to delete the original keymap file from the phone before copying. and not just overwriting.
And maybe to do a restart immediatly after, and selecting the right language (again) in the settings..
That's what I did when it worked
I simply moved my modified file to the keyboard-config folder with root explorer and it got overwritten. I now definitively have a qwerty keyboard. Tell me, where are those elusive Danish letters supposed to be?
ok, found them. though i didn't need to change the language in settings. lovely. i shall certainly not be keeping azerty =D
thekindladies said:
ok, found them. though i didn't need to change the language in settings. lovely. i shall certainly not be keeping azerty =D
Click to expand...
Click to collapse
haha
maybe that's not what did the trick then.. As said, I don't know what I did
change in the last of the 3 lines the "qwerty-se-fs" value to any name found in ./layout/ (without .xml added to the name of course)
(change description as well if you like)
delete keyprint.xml before copying modified keyprint.xml
don't know if deleting is necessary, but works definately
good work guys!
greets Mo
Mooozer said:
change in the last of the 3 lines the "qwerty-se-fs" value to any name found in ./layout/ (without .xml added to the name of course)
(change description as well if you like)
delete keyprint.xml before copying modified keyprint.xml
don't know if deleting is necessary, but works definately
good work guys!
greets Mo
Click to expand...
Click to collapse
can you please be a bit clearer?
which files do we change?
he is talking about the keyprint.xml in system/usr/keyboard-config folder and the keyboard layout file (e.g. qwerty-se-fi.xml) in the system/usr/keyboard-config/layouts folder.
check the layouts that are already present in the layouts subfolder. if the one you need is already there, simply edit the keyprint.xml file to change the line before last to match the layout you need.
i have an azerty keyprint but if i needed the qwerty-se-fi layout, then i'd change the line <script name="latin" keylayout="azerty"/> to <script name="latin" keylayout="qwerty-se-fi"/>. there is another line where AZERTY comes up, but you don't actually need to edit that one, since it is only a comment and not a proper code.
now, if you need a layout that is not already present on the phone, you can edit a copy of an existing one in the layout subfolder.
i in the end kept my azerty keyboard with some modifications to suit my needs, like
<key id="16"
primaryNormal="a" primaryShifted="A"/>
associatedNormal=""" associatedShifted="""
<key id="17"
primaryNormal="z" primaryShifted="Z"
associatedNormal="ž" associatedShifted="Ž"/>
and so on.
it is fairly simple but make sure you overwrite the original keyprint.xml file with the modified one otherwise the system will still be reading that one instead of the new file.
i am still on android 1.6. i don't know if the paths are the same in 2.1.
this trick doesnt work for me
at default i get the swedish on the keyprint, it messed up with the hardware keyboard espesially with the comma, dot, ? and so on. and then i modified the keyprint
from qwerty-se-fi to qwerty-en
reboot
hey its still like that....didn't work HELP
casablank0,
check the file again to verify that the changes were saved. i did exactly the same thing using root explorer and it works.
i did, in fact i've tried many times, reboot many times....
didn't work....
totally confused
maybe you could attached or paste the content of the file here so others can help out
thekindladies said:
he is talking about the keyprint.xml in system/usr/keyboard-config folder and the keyboard layout file (e.g. qwerty-se-fi.xml) in the system/usr/keyboard-config/layouts folder.
check the layouts that are already present in the layouts subfolder. if the one you need is already there, simply edit the keyprint.xml file to change the line before last to match the layout you need.
i have an azerty keyprint but if i needed the qwerty-se-fi layout, then i'd change the line <script name="latin" keylayout="azerty"/> to <script name="latin" keylayout="qwerty-se-fi"/>. there is another line where AZERTY comes up, but you don't actually need to edit that one, since it is only a comment and not a proper code.
now, if you need a layout that is not already present on the phone, you can edit a copy of an existing one in the layout subfolder.
i in the end kept my azerty keyboard with some modifications to suit my needs, like
<key id="16"
primaryNormal="a" primaryShifted="A"/>
associatedNormal=""" associatedShifted="""
<key id="17"
primaryNormal="z" primaryShifted="Z"
associatedNormal="ž" associatedShifted="Ž"/>
and so on.
it is fairly simple but make sure you overwrite the original keyprint.xml file with the modified one otherwise the system will still be reading that one instead of the new file.
Click to expand...
Click to collapse
that was very clear...thank you man.
but still no success here...
keyprint already says qwerty-en and that xml is in my layouts folder but its like the system is still reading the qwerty-se-fi layout!
i'm gonna try editing the qwerty-se-fi.xml to reflect the qwerty-en layout and see if it works...
*no go...
it's as if it's reading another keyprint.xml somewhere...
are all the ones editing the keyprint.xml here on 2.1?
i have a gitc_preferences.xml layout file in my res/layout/ folder. i am using IntelliJ 10.0.3 and i love it. the code completion in java and in xml is by and far the best ive used. but for some reason when i am making a PreferenceScreen it seems to choke.
lemme show a little stub of something...
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="first_cat">
<CheckBoxPreference
android:key="checkbox_preference"
android:title="title toggle preference"
android:summary="bleh" />
</PreferenceCategory>
</PreferenceScreen>
now everything inside the <PreferenceScreen></PreferenceScreen> tag is red. it says "Element PreferenceCatagory is not allowed here" "Element CheckBoxPreference is not allowed here"
now it code completes to CheckBox but it turns red when i continue on to CheckBoxPreferences.
any help. it wont compile.
YAY! ive once again solved my own problem.
layouts of PreferenceScreen's cant be in res/layout/ they have to be in res/xml/
killersnowman said:
YAY! ive once again solved my own problem.
layouts of PreferenceScreen's cant be in res/layout/ they have to be in res/xml/
Click to expand...
Click to collapse
THANK YOU for your own answer, it helped me !
Thanks
killersnowman said:
YAY! ive once again solved my own problem.
layouts of PreferenceScreen's cant be in res/layout/ they have to be in res/xml/
Click to expand...
Click to collapse
Thanks you very much dude... only here I found this problem and the solution. :fingers-crossed::highfive:
Thank you
Thank you
Hi, I have a problem with the sliding keyboard, I can not configure it in Spanish.
I changed the file system / usr / keyboard-config / keyprint.xml last in the line <script name="latin" keylayout="qwerty-br"/> does not work. Pressing appears ' and ñ either: (. Help me, please. Thank you.
sorry for my English.
Copy the attached keyprint, overwrite the existing and set permission to rw-r--r--
after reboot phone
Isnt there a section in the mini rom manager that is included in the rom that allows you to change the hardware keyboard layout?
Sent from my X10 Mini Pro using XDA Premium App
Hey Guys,
Im opening this topic here as Im not allowed yet to post in development section.
I recently flashed my SK17i with the newest firmware.
Now the HW keyboard is in qwerty layout.
Anyone knows how to change it back to qwertz?
I tried the terminal tutorial and the Rom Manager app from the thread in development section, but both dont work for me. Even after rebooting layout stays qwerty...
Sent from my SK17i
pal follow this method
h/w keyboard fix
root your phone, mount sys as writable, copy & change the xml file just using the notepad. after this paste it again.
path given in the above thread.
Phone is already rooted.
What exactly do I have to change in the xml file?
I guess it is what the "busybox sed... " command would do?
But what do I change in that file if I do it manually?
I already looked at that file but I dont really get how it works...
Would be great if someone would tell me in more detail.
Thanks
<?xml version="1.0" encoding="qwertz"/>
<Script name="cyrillic" keylayout="cyrillic"/>
<Script name="greek" keylayout="greek"/>
<Script name="hebrew" keylayout="hebrew"/>
<Script name="latin" keylayout="qwertz"/>
<Script name="thai" keylayout="thai"/>
</Keyprint>
This is what is in the file right now. Layout is qwerty.
So what am I to change to get qwertz?
Sent from my SK17i
if you have root explorer, you dont need use command line.
copy keyprint.xml on your sd-card
edit keyprint.xml with notepad++ (or other)
replace qwerty by which you want (azerty, qwertz...)
save file
now, copy keyprint.xml from your sdcard and replace/erase keyprint.xml in system/...
restart your phone
done
I used es file explorer to do this job , thus below mentioned steps are according to that
# root your phone
# open es file explorer & grant root access & mount system as writable from settings menu (see attached screenshot)
# now go to the following path - system/usr/keyboard-config & copy keyprint.xml to your sd card & move it to your desktop for edit (you can edit from your phone also if you have any editor for it) [to go to system folder press the star icon on top left hand side of the window of es file explorer]
# modify the latin line - <Script name="latin" keylayout="your region lang"/>
# save the xml file & put it back to the system folder. restart your phone. & voila!! you got your usual keyboard
I hope it helps
I know how to edit files and use root explorer thats not the problem.
But I dont know what (else) to change in the xml file. I postet its contents in my post above.
As you can see it already states latin = qwertz. still the layout is qwerty.
The term qwerty does not even show up anywhere in that file...
I also rebooted quite some times now
Is there maybe another thing which has to be edited?
upload your original xml file & let us know which firmware you used in your phone
As hotdude said the only thing you needed to change is the latin line
Your xml file is not correct beacause you have "<?xml version="1.0" encoding="qwertz"/>"
instead of <?xml version="1.0" encoding="utf-8"?/>
look mine :
Code:
<?xml version="1.0" encoding="utf-8"?>
<Keyprint>
<Script name="arabic" keylayout="arabic"/>
<Script name="cyrillic" keylayout="cyrillic"/>
<Script name="greek" keylayout="greek"/>
<Script name="hebrew" keylayout="hebrew"/>
<Script name="latin" keylayout="azerty"/>
<Script name="thai" keylayout="thai"/>
</Keyprint>
just replace azerty by qwertz
Still no luck...
The file looks like this now:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Keyprint>
<Script name="cyrillic" keylayout="cyrillic"/>
<Script name="greek" keylayout="greek"/>
<Script name="hebrew" keylayout="hebrew"/>
<Script name="latin" keylayout="qwertz"/>
<Script name="thai" keylayout="thai"/>
</Keyprint>
But still got qwerty layout...
I even tried to backup qwerty-en.xml file and replace it with renamed qwertz.xml but still no change in Layout...
Of course I rebooted after every change I made.
I guess I will have to take a look into the older german firmware how it is done there...
EDIT: Firmware is the Generic Trade United Kingdom 4.0.2.A.0.42 from Wotan Server.
That's weird i have the same firmware (the UK one from wotan)
my physical keyboard is azerty when change the xml file to qwertz it's working
Edit: Your code is still not correct remove the "/" from this line :
<?xml version="1.0" encoding="utf-8"?/>
Hope for you it will work
The "/" was just a typo it is not in the actual file on the phone...
Could you be so kind to upload your complete .xml keyprint.xml file?
Maybe I messed mine up somehow...
Thank you very much.
Yes
I uploaded the keyboard-config folder in attachement
The Arabic line is missing the XML file, perhaps that's the cause that the ycript isn't running properly? I've just changed my layout from qwerty-dk back to qwertz without problems.
Thank you so much peexl
My .xml file was really messed up.
Mine looked like:
<Script name="latin" keylayout="qwertz"/>
And the correct version is:
<Script keylayout="qwertz" name="latin"/>
Dont know how it got that wrong as it was that way for every language, maybe something was not flashed right...
But anyhow IT WORKS NOW
Thanks to everyone who posted to help
and special thanks to peexl for posting your files ^^