localization tech note


Title: Localizing the "About Communicator" Page
Platform: Windows

Authors: Rob Thorne, Rick Elliott
Last modified: 21 May 1998

History

5 May 1998: moved information from the Navigator 4.04 notes, with very minor edits.
20 May 1998: edited for public release.


The "About Communicator" page is originally a cross platform HTML resource. For the Windows client, however, it is converted into stringtable resources and stored in resdll.dll. Editing these strings is difficult and error-prone. This technote provides information and tools for handling this more gracefully.

We now recommend doing the About Page as follows:

  1. Use GetAbtBox.exe to extract the HTML for the About Box from your localized Communicator 4.x, and and compare it with the current file in English.
  2. Edit the HTML file you extracted from Communicator 4.x to make sure that the HTML file has the same structure as the current US file.
  3. Generate a .rc file using AbPack.exe.
  4. Open resdll.dll in your Windows resource editor. Delete the about page STRINGTABLE resources (begining at 60200 and continuing to about 60240).
  5. Open the .rc file produced by abpack. Copy the STRINGTABLE resources ONLY (NOT the header or footer information; i.e. only those strings that are preceded by numeric resource IDs). Paste the STRINGTABLE items into resdll.dll.
  6. Save your changes to resdll.dll.
  7. Test your work.
    1. Use GetAbtBox.exe to extract the new .html file from your localized resdll.dll and view that page in Communicator. Fix any errors you find. (You must repeat steps 2 through 6.)
    2. Launch Communicator and choose Help | About Communicator (or type about: in the location field), and check for the security string that displays near the RSA icon. If you've done your work correctly, a localized version of this string will appear in your now localized About Box.

GetAbtBox.exe

This is a Win32 command line program that will extract the About Page STRINGTABLE resources and convert them into an HTML file. The syntax is simple: Redirect the output to a file to generate your HTML file:

AbPack.exe

This is a Win32 command line program that will convert an HTML file into a Windows resource script file (.rc). It supports many languages and code pages, including non-Latin single byte as well as multi byte languages.

Here is the help page for the tool, abpack.exe:

To use the tool to generate the resources for Korean, either of the following calls would work: Or for any European language that uses Latin1 (code page 1252)
1998, Copyright Netscape Communications Corp. All Rights Reserved