Language Bundle Compiler

Language bundles - default, custom, and those installed with Parallels H-Sphere packages - are compiled and merged into the resulting internal bundles located in the internal bundle directory, ~cpanel/shiva/languages by default. Instead of parsing default and custom bundles, Parallels H-Sphere takes interface texts directly from this directory.

Merging language bundles is performed by a Java tool called language bundle compiler:

java psoft.hsphere.LangBundlesCompiler

Language bundle compiler works in the following way:

  1. Bundle compiler parses the LANG_LIST parameters set in:
  1. According to Java locale identifiers set in the LANG_LIST parameters, bundle compiler looks for the bundles:
  2. Bundle compiler merges default, custom and package bundles with the same filenames and save the resulting bundles in UTF-8 format into the internal bundle directory ~cpanel/shiva/languages/.

    See Bundle Lookup Sequence.

Notes:

Encoding conversion hints: