Microsoft KB Archive/170238

= Microsoft Knowledge Base =

FP: How to Change Default Language Used by Spelling Checker
Last reviewed: October 14, 1997

Article ID: Q170238

The information in this article applies to:


 * Microsoft FrontPage 97 for Windows
 * Microsoft FrontPage for Windows, version 1.1

SUMMARY
This article describes how to change the default language for the spelling checker in Microsoft FrontPage.

MORE INFORMATION
NOTE: Before you change the default language, make sure you have the proper language dictionary file on your computer. The dictionary file has a .lex file extension and it is typically installed in the C:\Program Files\Common Files\Microsoft Shared\Proof folder.

FrontPage 97
FrontPage 97 no longer uses it's own \Bin folder for the .lex files. Instead it uses the same folder as the Microsoft Office applications do. To change the default language used by the spelling checker in FrontPage 97, use either of the following methods:

Method 1. Change the Language Setting in FrontPage Explorer

 * 1) On the Tools menu, click Web Settings, and then click the Language tab.
 * 2) In the Default Web Language list, click the language setting you want.
 * 3) Click OK.

If the language you want to use does not appear in the Default Web Language list, use Method 2.

Method 2. Modify the Frontpg.ini File
To determine where the language dictionary is installed, check the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Proofing Tools\Spelling\XXXX\Dictionary where XXXX is a four-digit hexadecimal identification code that corresponds to a specific language. (See the "Language Codes" section later in this article.)

 Open the Frontpg.ini file in a text editor, such as Notepad.  Locate the following line: FrontPageLangID=0x0409 Change '0x0409' to the number you want. (See the "Language Codes" section later in this article.)  Save and close the Frontpg.ini file.

When you restart FrontPage Editor, the new language will be used when you run the spelling checker.

FrontPage 1.1
FrontPage 1.1 uses the LEX files that are located in the \Microsoft FrontPage\bin folder. Copy the .lex file you want from the C:\Program Files\Common Files\Microsoft Shared\Proof folder to the \Microsoft FrontPage\Bin folder and then modify the Frontpg.ini file, using these steps:

 Open the Frontpg.ini file in a text editor, such as Notepad.  Locate the following line: FrontPageLangID=0x0409 Change "0x0409" to the number you want. (See the "Language Codes" section later in this article.)   Locate the following line: FrontPageLexicon=c:\Program Files\Microsoft FrontPage\bin\Mssp2_en.lex Change "Mssp2_en.lex" to the name of the file you copied to the \Microsoft FrontPage\Bin folder  Save and close the Frontpg.ini file.</li></ol>

When you restart FrontPage Editor, the new language will be used when you run the spelling checker.

Language Codes
Language Name          Language Identifier (hexadecimal) ---

Albanian               0x041c Arabic                 0x0401 Bahasa                 0x0421 Belgian Dutch          0x0813 Belgian French         0x080c Brazilian Portuguese   0x0416 Bulgarian              0x0402 Canadian French        0x0c0c Castilian Spanish      0x040a Catalan                0x0403 Croato-Serbian(Latin)  0x041a Czech                  0x0405 Danish                 0x0406 Dutch                  0x0413 Finnish                0x040b French                 0x040c German                 0x0407 Greek                  0x0408 Hebrew                 0x040d Hungarian              0x040e Icelandic              0x040f Italian                0x0410 Japanese               0x0411 Korean                 0x0412 Mexican Spanish        0x080a Norwegian - Bokmal     0x0414 Norwegian - Nynorsk    0x0814 Polish                 0x0415 Portuguese             0x0816 Rhaeto-Romanic         0x0417 Romanian               0x0418 Russian                0x0419 Serbo-Croatian(Cyrillic)0x081a Simplified Chinese     0x0804 Slovak                 0x041b Swedish                0x041d Swiss French           0x100c Swiss German           0x0807 Swiss Italian          0x0810 Thai                   0x041e Traditional Chinese    0x0404 Turkish                0x041f U.K. English           0x0809 U.S. English           0x0409 Urdu                   0x0420