Search Engine: Elastic

Article ID: 3365, created on Nov 30, 2007, last review on May 9, 2014

  • Applies to:
  • H-Sphere


Webmails Localization

(versions 2.4.3 Patch 9 and 2.5 Beta 5 +)

Starting with hsphere-webmails-2-10, the /hsphere/local/config/mail/scripts/add_locales script that fixes the Horde localization problem on TRUSTIX OSs is included into the package.


add_locales [ locale1 locale2 ... localeN ] [ usage ] [ list ]
no options - adds all supported by HORDE locales
locale1 ... localeN - adds listed locales
list - lists all supported by Horde locales
usage - prints this message

This script is called out from the post-install script and during the hsphere-webmails installation adds utf8 locales only for Russian, Italian, French, German, Dutch, Spanish, Portugese.

To add the languages supported by Horde but not installed with package by default, run the script with necessary language codes (the codes should be delimited by a space). For instance, to add Hungarian and Chinese, run:

/hsphere/local/config/mail/scripts/add_locales hu_HU zh_CN
You can view all possible language codes by running:
/hsphere/local/config/mail/scripts/add_locales list

Note: you need to have the package glibc-locales installed on the server for the proper work of the script!

f213b9fa8759d57bee5d547445806fe7 3ef1f5f998c0dc182718a7fe4376f875

Email subscription for changes to this article
Save as PDF