Changing Language of Context Help

 

Related Docs:   Interface Text Customization Adding New Languages To H-Sphere

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.

  • 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:
    Starting from version 2.4, 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.


Related Docs:   Interface Text Customization Adding New Languages To H-Sphere



Home   Products   Services   News
© Copyright. . PSOFT. All Rights Reserved. Terms | Site Map