WD: How to Add a Language to the List of Available Languages

Last reviewed: August 4, 1997
Article ID: Q112434
The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, version 7.0
  • Microsoft Word 97 for Windows

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

SUMMARY

This article contains the instructions for adding a language to your available list of languages for proofing tools. The article also contains the current list of available language codes.

INSTRUCTIONS FOR ADDING A LANGUAGE

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

Word 6.0 for NT, Word 7.0, Word 97

  1. Click the Start menu and then click Run.

  2. In the Open box, type "regedit" (without the quotation marks) in Windows 95 or type "regedt32" (without the quotation marks) in Windows NT and click OK.

  3. Locate and select the following Registry key: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Shared Tools/Proofing Tools.

  4. Create a Language key. To do this, on the Edit menu, point to New, click Key and type "Language" (without the quotation marks). Press Enter.

  5. Select the Language key. On the Edit menu, point to New, click Key, and type the number of the Language Code listed at the end of this article. For example, type the number 1038. Press Enter.

  6. On the Edit menu, point to New, click String Value and type the word "Name" (without the quotation marks). Press Enter.

  7. Select Name. On the Edit menu, click Modify and type the name of the language in the "Value data" box. Click OK. In this example, type Hungarian.

  8. On the Edit menu, point to New, click String Value and type the word "NameIntl" (without the quotation marks). Click OK.

  9. Select "NameIntl". On the Edit menu, click Modify and type the name of the localized language in the "Value data" box. For example, the localized Hungarian name is Magyar. Click OK.

  10. On the Registry menu, click Exit.

This procedure causes Hungarian to appear in the language list. NameIntl is the localized language name that is used in macro calls.

Word 6.0

To add a language to the Mark Selected Text As list of languages in the Tools Language dialog box (Format Language dialog box in Word 2.x), do the following:

  1. Start a text editor such as Windows Notepad. Open your WIN.INI file, which is located in the Windows directory (usually, C:\WINDOWS).

  2. Locate the [MS Proofing Tools] section and add the following line:

          Language <language ID>=<language name>, <three-letter
          abbreviation>
    

    For example:

          Language 1045=Polish, POL
    

  3. Add a speller path line

          Spelling 1045,0=[path to DLL],[path to LEX file]
    

    in the [MS Proofing Tools] section of the WIN.INI file, or in the [Microsoft Word] section of the WINWORD6.INI file, which is located in the Windows directory.

    For example:

          WIN.INI
          -------
    

          Spelling 1045,0=c:\windows\msapps\proof\PLSPELL.DLL,c:\windows
          \msapps\proof\SP_PL.LEX
    

          WINWORD6.INI
          ------------
    

          [Microsoft Word]
          Spelling 1045,0=c:\windows\msapps\proof\PLSPELL.DLL,c:\windows
          \msapps\proof\SP_PL.LEX
    

NOTE: Some foreign language proofing tools have their own spelling .DLL as shown in the Polish example above. Most of the foreign language proofing tools use the MSSPEL2.DLL file which is used with English and UK Word for Windows. If you are using a spelling package from Alki, be sure to check the spelling reference in the WINWORD6.INI file to see that it is pointing to the correct .DLL.

LANGUAGE CODES

The following is the current list of languages and their language codes for Word for Windows. The language codes are used in the spelling path statements for the Proofing Tools and are placed in various locations based on the versions of Word and Windows you use.

Language Code

Australian English   3081
Brazilian            1046
Catalan              1027
Czech                1029
Danish               1030
Dutch                1043
Dutch Preferred      19
Finnish              1035
French               1036
French Canadian      3084
German               1031
Hungarian            1038
Italian              1040
Norwegian Bokmal     1044
Norwegian Nynorsk    2068
Polish               1045
Portuguese           2070
Russian              1049
Spanish              1034
Swedish              1054
Swiss German         2055
Turkish              1055
UK English           2057
US English           1033


KBCategory: kbusage kbhowto
KBSubcategory: kbproof
Additional query words: 2.00 2.00a 2.00a-CD 2.00b 2.00c 6.00 6.00a
word7 word6 7.00 word95 6.00c 8.00 word8 word97 winword
Keywords : kbproof kbhowto kbusage
Version : 2.x 6.00 6.00a 6.00c 7.00 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 4, 1997
©1997 Microsoft Corporation. All rights reserved. Legal Notices.