How to Add a Custom Localization in WebMail

This article explains the steps needed to add a custom localization in WebMail

Solution

To add a new language for Webmail module, please follow the steps described below:
  1. Edit one of the existing languages, written in hsp, from /var/opt/axigen/webmail/private/standard/lang/ (example: lang_en.hsp)
  2. Save it as lang_XY.hsp in the same path
  3. Translate the content of lang_XY.hsp in your language
  4. Edit /var/opt/axigen/webmail/private/index.hsp and add the following line:<% languages = PUSH("XY") %>after the line:
    <% languages = PUSH("en") %>
  5. Restart AXIGEN and you should be able to see your new added language by logging in to Webmail , going to 'Settings' and setting the 'Language' drop-downbox.
Note: Please replace XY with your language code, in lower case.
OS: LinuxWindowsFreeBSDMACOpenBSDNetBSDSolaris
Distros: Windows