|
Last modified: 18 Oct 2007
Online help texts are hard-coded in special
H-Sphere templates
with .oh extension located in the
~cpanel/shiva/shiva-templates/common/online_help/
directory.
Carefully follow the procedure outlined in the
Customizing Templates
document, with the following considerations specific to context help templates:
- Copy the online help files from the
~cpanel/shiva/shiva-templates/common/online_help/ folder to
the custom template directory shiva/custom/templates/common/online_help/,
to files whose names contain identifiers for target language, country and
encoding, in the format similar to that of
language bundles:
cp ~cpanel/shiva/shiva-templates/common/online_help/some/dir/helpfile.oh ~cpanel/shiva/custom/templates/common/online_help/some/dir/helpfile_<LANGUAGE>_<COUNTRY>.oh
Consider the following example for the Russian language:
cp ~cpanel/shiva/shiva-templates/common/online_help/user/b_invoice/01balance.oh ~cpanel/shiva/custom/templates/common/online_help/user/b_invoice/01balance_ru_RU.oh
IMPORTANT:
H-Sphere uses the UTF-8 charset for all languages.
Therefore, text directly inserted into templates
(i.e., not by means of text labels defined in language bundles)
must be in the UTF-8 encoding.
Other regional encodings (for example, Windows-1251 for Russian)
must not be used anymore in context help templates, and texts there must be converted into UTF-8.
Translate the heading and the body of each help file in the corresponding
encoding.
|