Thursday, September 07, 2006

Compiling CHM for files translated into Asian Languages

I had some trouble compiling Chinese help. I worked this out with diverse advice from a variety of news groups and with many false starts. I was using:

  • Word 2003
  • WWP for Word 2003
  • XP SP2

System Setup

To compile Asian language chm files on your non-Asian language machine, you need to have East Asian languages installed on your system, and the appropriate language for non-Unicode programs selected. I had to set it for Chinese, and then reset it for German.

  1. Click Start>Settings>Control Panel>Regional and Language Options.
  2. In the Regional and Language Options dialog:
    • On the Languages tab, check the Install files for East Asian languages option. You may need your OS installation CD for this step.
    • On the Advanced tab, in the Language for non-Unicode programs section, select the language you want to compile help for.
  3. You may have to restart your computer.

Note, I compiled the Chinese version of my help with out step 4, the TOC was fine, the content was fine, but neither index nor the search worked. Setting the language here, rebooting, and recompiling fixed it. I found the explanation, and much more information here: http://helpware.net/FAR/far_faq.htm.

“The compiler is not Unicode enabled. As such, we rely on the system default language for our string manipulation/conversions. If the system language is not set to JPN, then portions of the compilation will fail (full text search, keyword sorting, perhaps even the storage of localized topic titles that appear in the disambiguator).” (Marc Islam, MS Help Development Team, as quoted on http://helpware.net/FAR/far_faq.htm#JapComp.)


WebWorks Project Setup

In case you haven't found this info yet.

  1. Open your help project in WebWorks.
  2. Click Project>Options.
  3. In the Project Options dialog, in the Language and Character Encoding section specify the Language and Encoding to use. For example, for our distributors, we selected Chinese (China) and Simplified Chinese.
  4. Click OK.

0 Comments:

Post a Comment

<< Home