[NEED Help! - Tutorial] Change Fonts/Dictionary/Language/Keyboard

Search This thread

Dev.YoungBoy

Member
Mar 6, 2014
43
43
Bærum
Guys! This tutorial is under development. Please feel free to ask questions and help!
Does someone know how to change keyboard layout in an easy way?
Does someone know how to add a language pack or make to WP7?


Check list:
• Before you start you should have checked the box "Start WMDC automatically" in WM Device Center.
I have done different options in the registry, and by a mistake i did somthing wrong. That lead to the apps actually opens for like 1 second but closes instantly. Fortunatly I could make backup of my sms and contacts to my computer befire I did a hard reset ...​

• I recommend to use WP7 Root Tools

Facts you should know before starting:
The Registry stores configuration settings and options on the Windows Phone 7
The HKEY_LOCAL_MACHINE\System\GDI registry key enables font linking
The HKEY_LOCAL_MACHINE\System\GWE registry key supports the windows, dialog boxes, controls, menus, and resources that make up the Windows CE user interface (UI).
TrueType Collection (.ttc) is an extension of TrueType format (.ttf) that allows combining multiple fonts into a single file. The Windows CE 6/7 provides a font linking capability so that you can link one or more TrueType fonts to another TrueType font.

Tutorials:
Add a font to Internet Explorer:
I think this is default settings:
1. Go to HKEY_LOCAL_MACHINE\System\GDI\FontAlias and make sure the "DefaultUIFont" has value data "SegoeWP"
2. Make sure the "Nm" is "DefaultUIFont" (Location for the Default Fonts)
System:
HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt
Menu bar:
HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\BarFnt
Pop-up menu:
HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\PopFnt

Then you should:
3. Add your font ("Mangal.ttf") you want to use into the Windows folder in explorer from your computer
4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink and click on the SegoeWP.ttf
At the buttom on the value data add:
;\Windows\fontname.ttf/ttc,the group in the font you want to use
In my case it could be like:
;\Windows\Mangal.ttf,Mangal
5. Go to HKEY_LOCAL_MACHINE\System\GDI and add this value
Value name: name of the font you added in /Windows ("Mangal.ttf")
Value type: DWord
Value data: 1

Change font sizes:
HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt
HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\BarFnt
HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\PopFnt


You can change the variables and values in the registry keys in this folders (↑)
(String) "Nm"=font-name
You can get font-name if you dobbelclick on the font (Mangal.ttf has font-name Mangal)
(DWord)"Ht"=height
Font height, in pixels
(DWord)"It"=italics-flag
Set to 1 for italics; 0 for no italics
(DWord)"Wt"=weight
Font weight, which can be one of the FW_* values
(DWord)"CS"=character-set
Defines the character set, which can be one of the *_CHARSET values​

Change Default UI Font:

The WP7 uses the DefaultUIFont which includes:
name of font.ttf (meaning)
segoeui.ttf (User Interface)
segoeuib.ttf (User Interface Bold)
SegoeWP.ttf (Windows Phone)
SegoeWP-Black.ttf (Black)
SegoeWP-Bold.ttf (Bold)
SegoeWP-Light.ttf (Light)
SegoeWP-Semibold.ttf (Semibold)
SegoeWP-Semilight.ttf (Semilight)
seguisym.ttf (User Interface Symbol)

To get your font to usage, you should replace all these fonts with the one font you have chosen
1. Name the font to all these names on your computer
2. Add all the fonts into \ on your phone
3. Copy and paste the fonts to the Windows folder

Error?
If your phone wont replace the original font or if you don´t discover a refresh in the explorer
You should try to rename the font you want to replace before replacing​
4. Reboot your phone

Remember that if you want to use a font with other characterset than english it may not work. Most apps in the phone uses UTF-8.

Change dictionary:

WP7 uses a old dictionary list. You can use a WP8 dictionary list on WP7

1. Go to http://www.mediafire.com/?nkzk3xevb...cwwr9w10op253,89j53lh6681nc77,z1d4qu4ef694s1q

2. Check what your number your langauge have
HKEY_LOCAL_MACHINE\MUI\Availible

0404 - Traditional Chinese (繁體中文)
0405 - Czech language (Čeština)
0406 - Danish (Dansk)
0407 - German (Deutsch)
0408 - Greece (Ελληνικά)
0409 - USA (US English)
040B - Finland (suomi)
040C - French (Français)
040E - Hungarian langauge (Magyar)
0410 - Italy (Italiano)
0411 - Japanese (日本語)
0412 - Korean (한국어)
0413 - Netherlands (Nederlands)
0414 - Norwegain (Norsk)
0415 - Polish (polski)
0416 - Brazilian Portuguese (Português (Brasil))
0419 - Russian (Русский)
041D - Swedish (Svenska)
041F - Turkish (Türkçe)
0421 - English (Inggris AS)
043E - (Bahasa Inggeris AS)
0804 - Simplified Chinese (中文(标准))
0809 - United Kingdom English (UK English)
0816 - Portugal (Português (Portugal))
0C0A - Spanish (Español)

3. Replace the .dat file with the new one in the Windows Folder
4. Reboot

Change keyboard:

I think the easiet way to change the keyboard layout is to replace the characters to a keyboard. Maybe a keyboard that you don´t use?

Probably you are looking for the urdu or hindi keyboard, and you should know:
- Urdu is written in Nastaliq script, which is the superset of modern-day Arabic script (38 letters)
- Hindi is written in Devanagari script, which uses an inscirpt common layout for all Indian scripts (standard keyboard layout)

1. First you need to know how many keys it is in the keyboard you are going to use, like the norwegian keyboard have 29 keys: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,æ,ø,å)
2. You should decide if you want a "QWERTY" keyboard or a "ABCD" keyboard
3. Go the the location for the keyboard:
HKEY_LOCAL_MACHINE\Software\Microsoft\FingerKB
4. Go to:
HKEY_LOCAL_MACHINE\Software\Microsoft\FingerKB\InputScopeMap\{805d58c2-096a-4451-b2cb-40996fcb236d}\Alpha\
5. Choose the langauge you want to use and click on it (something like lang_number)
6. Click on "IS_NAME_OR_PHONENUMBER" The values have not the same valuedata
7. Copy the value data (with the symbols {})
8. Go to:
HKEY_LOCAL_MACHINE\Software\Microsoft\FingerKB\Layout
9. And search the value data you copied and click on the folder
10. Look at the value Default. It can tell us how many keys the keyboard have, and what layout it uses
11. Go to Keys
12. Click on one of the numbers. I recommend to follow the numerical order if you want "QWERTY" keyboard (1,2,3,4,5 etc.)
13. You will soon discover that the folder can have one value named Default and one named Text
14. You should edit both of them to the "symbol" or letter you want to use. Rembember where you put the different characters

I don´t know how to find the uppercase folder to the languages ....

Edit the DialPad
16. At the last number you will probably find 4 values:
Default: switch dialpad
Swith: {-long number-}
Text: 123
Type: 0x0.......​
16. You should copy the value data to Switch
17. Search for the value data in the layout folder

Add a language to WP7:

I don´t know exactley what we should do ...

Windows 7 uses a language file called .mlc. So I treid to convert that to .cab by Windows Download Integrator. But I got an error in WP7 Update Cab Sender
 
Last edited:

Mawri

Member
Aug 22, 2012
6
0
Good work ..:cowboy:

I've tried to change my lumia 710 keybord from dainsh to arabic by using the method u've mentioned , the values of the symbols
has changed and saved as an arabic letters .. i did that for all characters , but nothing changed .. when I enable the dainsh keybord :confused:

Q . How i added the arabic symbols !?
A . I used an arabic keybord in the market , then copied/pasted arabic letters to value data on keys folder for dainsh language

am I doing something wrong here ?!

check the pic below
 
Last edited:

Mawri

Member
Aug 22, 2012
6
0
Yes , I actually restarted my phone alot of times :laugh:

ummm , about the last 2 steps
"
16. You should copy the value data to Switch
17. Search for the value data in the layout folder

"

the value data here in the Switch key is the value data for the language code ? for example lang_0409 , has the value data {001818B-29 ... etc ?

is this what you mean by the value data at the layout folder ?

and .. if you have the language pack dictionary or keyboard layout files from wp8 please upload them , i'll try to patch them with the wp7.8


thanks again >
 
Last edited:

Dev.YoungBoy

Member
Mar 6, 2014
43
43
Bærum
The step 16, 17, 18 is about editing the dialpad when you do a phone call :)

I think the last value in every keyboard language folder (like folder name 001818B-29...) consist of 4 values. Then you search for the value data to Switch in the layout folder, to get to the dialpad language folder :D

And I have not tried to change keyboard letters on my phone. Just puzzled a bit around in the registery, and thought out a way that may work :
http://xdaforums.com/showthread.php?t=914866
I renamed the .xap to .zip. Found the file code. And try to find a way that was done the same way.

If you want to get language/dictionary files you can try to run a emulator dump
http://xdaforums.com/showthread.php?t=2648331

Good luck :D
 

QuazIqbal

Senior Member
Jul 25, 2015
311
96
35
New Delhi
Can we have separate fonts for urdu and arabic on Android? I personally like Al Qalam Quran Majeed font for arabic and Jameel noori nastaleeq font for urdu, but I am unable to use both fonts at a time...

can anybody suggest how to have both fonts at the same time? Or how to create a single .ttf file having the font characteristics of both the above mentioned fonts?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Guys! This tutorial is under development. Please feel free to ask questions and help!
    Does someone know how to change keyboard layout in an easy way?
    Does someone know how to add a language pack or make to WP7?


    Check list:
    • Before you start you should have checked the box "Start WMDC automatically" in WM Device Center.
    I have done different options in the registry, and by a mistake i did somthing wrong. That lead to the apps actually opens for like 1 second but closes instantly. Fortunatly I could make backup of my sms and contacts to my computer befire I did a hard reset ...​

    • I recommend to use WP7 Root Tools

    Facts you should know before starting:
    The Registry stores configuration settings and options on the Windows Phone 7
    The HKEY_LOCAL_MACHINE\System\GDI registry key enables font linking
    The HKEY_LOCAL_MACHINE\System\GWE registry key supports the windows, dialog boxes, controls, menus, and resources that make up the Windows CE user interface (UI).
    TrueType Collection (.ttc) is an extension of TrueType format (.ttf) that allows combining multiple fonts into a single file. The Windows CE 6/7 provides a font linking capability so that you can link one or more TrueType fonts to another TrueType font.

    Tutorials:
    Add a font to Internet Explorer:
    I think this is default settings:
    1. Go to HKEY_LOCAL_MACHINE\System\GDI\FontAlias and make sure the "DefaultUIFont" has value data "SegoeWP"
    2. Make sure the "Nm" is "DefaultUIFont" (Location for the Default Fonts)
    System:
    HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt
    Menu bar:
    HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\BarFnt
    Pop-up menu:
    HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\PopFnt

    Then you should:
    3. Add your font ("Mangal.ttf") you want to use into the Windows folder in explorer from your computer
    4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink and click on the SegoeWP.ttf
    At the buttom on the value data add:
    ;\Windows\fontname.ttf/ttc,the group in the font you want to use
    In my case it could be like:
    ;\Windows\Mangal.ttf,Mangal
    5. Go to HKEY_LOCAL_MACHINE\System\GDI and add this value
    Value name: name of the font you added in /Windows ("Mangal.ttf")
    Value type: DWord
    Value data: 1

    Change font sizes:
    HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt
    HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\BarFnt
    HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\PopFnt


    You can change the variables and values in the registry keys in this folders (↑)
    (String) "Nm"=font-name
    You can get font-name if you dobbelclick on the font (Mangal.ttf has font-name Mangal)
    (DWord)"Ht"=height
    Font height, in pixels
    (DWord)"It"=italics-flag
    Set to 1 for italics; 0 for no italics
    (DWord)"Wt"=weight
    Font weight, which can be one of the FW_* values
    (DWord)"CS"=character-set
    Defines the character set, which can be one of the *_CHARSET values​

    Change Default UI Font:

    The WP7 uses the DefaultUIFont which includes:
    name of font.ttf (meaning)
    segoeui.ttf (User Interface)
    segoeuib.ttf (User Interface Bold)
    SegoeWP.ttf (Windows Phone)
    SegoeWP-Black.ttf (Black)
    SegoeWP-Bold.ttf (Bold)
    SegoeWP-Light.ttf (Light)
    SegoeWP-Semibold.ttf (Semibold)
    SegoeWP-Semilight.ttf (Semilight)
    seguisym.ttf (User Interface Symbol)

    To get your font to usage, you should replace all these fonts with the one font you have chosen
    1. Name the font to all these names on your computer
    2. Add all the fonts into \ on your phone
    3. Copy and paste the fonts to the Windows folder

    Error?
    If your phone wont replace the original font or if you don´t discover a refresh in the explorer
    You should try to rename the font you want to replace before replacing​
    4. Reboot your phone

    Remember that if you want to use a font with other characterset than english it may not work. Most apps in the phone uses UTF-8.

    Change dictionary:

    WP7 uses a old dictionary list. You can use a WP8 dictionary list on WP7

    1. Go to http://www.mediafire.com/?nkzk3xevb...cwwr9w10op253,89j53lh6681nc77,z1d4qu4ef694s1q

    2. Check what your number your langauge have
    HKEY_LOCAL_MACHINE\MUI\Availible

    0404 - Traditional Chinese (繁體中文)
    0405 - Czech language (Čeština)
    0406 - Danish (Dansk)
    0407 - German (Deutsch)
    0408 - Greece (Ελληνικά)
    0409 - USA (US English)
    040B - Finland (suomi)
    040C - French (Français)
    040E - Hungarian langauge (Magyar)
    0410 - Italy (Italiano)
    0411 - Japanese (日本語)
    0412 - Korean (한국어)
    0413 - Netherlands (Nederlands)
    0414 - Norwegain (Norsk)
    0415 - Polish (polski)
    0416 - Brazilian Portuguese (Português (Brasil))
    0419 - Russian (Русский)
    041D - Swedish (Svenska)
    041F - Turkish (Türkçe)
    0421 - English (Inggris AS)
    043E - (Bahasa Inggeris AS)
    0804 - Simplified Chinese (中文(标准))
    0809 - United Kingdom English (UK English)
    0816 - Portugal (Português (Portugal))
    0C0A - Spanish (Español)

    3. Replace the .dat file with the new one in the Windows Folder
    4. Reboot

    Change keyboard:

    I think the easiet way to change the keyboard layout is to replace the characters to a keyboard. Maybe a keyboard that you don´t use?

    Probably you are looking for the urdu or hindi keyboard, and you should know:
    - Urdu is written in Nastaliq script, which is the superset of modern-day Arabic script (38 letters)
    - Hindi is written in Devanagari script, which uses an inscirpt common layout for all Indian scripts (standard keyboard layout)

    1. First you need to know how many keys it is in the keyboard you are going to use, like the norwegian keyboard have 29 keys: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,æ,ø,å)
    2. You should decide if you want a "QWERTY" keyboard or a "ABCD" keyboard
    3. Go the the location for the keyboard:
    HKEY_LOCAL_MACHINE\Software\Microsoft\FingerKB
    4. Go to:
    HKEY_LOCAL_MACHINE\Software\Microsoft\FingerKB\InputScopeMap\{805d58c2-096a-4451-b2cb-40996fcb236d}\Alpha\
    5. Choose the langauge you want to use and click on it (something like lang_number)
    6. Click on "IS_NAME_OR_PHONENUMBER" The values have not the same valuedata
    7. Copy the value data (with the symbols {})
    8. Go to:
    HKEY_LOCAL_MACHINE\Software\Microsoft\FingerKB\Layout
    9. And search the value data you copied and click on the folder
    10. Look at the value Default. It can tell us how many keys the keyboard have, and what layout it uses
    11. Go to Keys
    12. Click on one of the numbers. I recommend to follow the numerical order if you want "QWERTY" keyboard (1,2,3,4,5 etc.)
    13. You will soon discover that the folder can have one value named Default and one named Text
    14. You should edit both of them to the "symbol" or letter you want to use. Rembember where you put the different characters

    I don´t know how to find the uppercase folder to the languages ....

    Edit the DialPad
    16. At the last number you will probably find 4 values:
    Default: switch dialpad
    Swith: {-long number-}
    Text: 123
    Type: 0x0.......​
    16. You should copy the value data to Switch
    17. Search for the value data in the layout folder

    Add a language to WP7:

    I don´t know exactley what we should do ...

    Windows 7 uses a language file called .mlc. So I treid to convert that to .cab by Windows Download Integrator. But I got an error in WP7 Update Cab Sender