Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

9 Generating Microsoft HTML Help > 9.13 Generating HTML Help in non-Western languages > 9.13.2 Specifying locale and language for HTML Help


9.13.2 Specifying locale and language for HTML Help

To specify locale and language for HTML Help (for example, Japanese):

[MSHtmlHelpOptions]

; HelpFileLanguage = LCID to put in project file, default is for

: US English.

HelpFileLanguage = 0x411 Japanese

This is equivalent to setting the following in your .hhp file:

[OPTIONS]

Language = 0x411 Japanese

Mif2Go supports the following locales: 

[spacer]

Decimal

Hex

Language

1033

0x409

English (United States)

1032

0x408

Greek

1049

0x419

Russian

1055

0x41F

Turkish

1029

0x405

Czech (used for Central European)

1041

0x411

Japanese

1028

0x404

Chinese (Traditional)

2052

0x804

Chinese (Simplified)

1042

0x412

Korean

Each of these values sets an associated code page for all output files, and overrides any values specified in the configuration file for the following settings in [HTMLOptions]

[spacer]

Encoding

§13.4.3 Specifying character encoding for HTML

XMLEncoding

§14.3.3 Specifying character encoding for generic XML

Getting around a defect in HHW in order to display Help title

When you specify a locale identifier (LCID) other than US English, a defect in HTML Help Workshop prevents your Help-file title from being displayed in the CHM file; instead, the title shows as “HTML Help”. Mif2Go provides a default workaround that sets the HTML Help Workshop Language option to US English for initial creation of the .hhp file. Even if the resulting CHM file will be used in other locales, a setting for HelpFileLanguage is required to display the value you specified for HelpFileTitle instead of just “HTML Help”.

Fixed spaces cannot always be represented

Because fixed spaces (such as non-breaking spaces and thin spaces) cannot be represented in some code pages, if you are using (for example) the Japanese locale, Mif2Go maps all fixed spaces to the ideographic space, U+3000 (x81 x40), for code page 932. For other characters, see §21.5 Assigning properties to text formats.



9 Generating Microsoft HTML Help > 9.13 Generating HTML Help in non-Western languages > 9.13.2 Specifying locale and language for HTML Help