Installing an additional language

Ensignia uses the gettext system for handling translations. In order to enable any additional languages, the correct locales have to be set up on the server.

Since Ensignia is based on SquirrelMail, all the instructions you will find on-line concerning the language management in SquirrelMail will also apply to Ensignia.

The steps below show how to install and enable the German locale (de_DE) on Linux.

1. Make sure the translation files for the language you want to install are located under the directory /locale. In our case, we're looking for /locale/de_DE. Check the file permissions to make sure the folder and the files it contains are accessible to the web server.

2. Edit your locale setting file on the server (usually in /var/lib/locales/supported.d/local) and add the support for the German code page: de_DE.UTF-8 UTF-8

3. Run "sudo dpkg-reconfigure locales" to update the locales.

4. Restart the web server.

If you have more than one language installed, you may want to consider using the "limit_languages" plugin to make sure that only the languages that are actually usable are displayed in the language combo boxes. You can enable the plugin by going to the Ensignia Admin Panel / Plugins Desktop or Plugins Mobile. You'll also need to edit the file "plugins/limit_languages/config.php" and specify the list of languages that will be displayed.

Article Details

Article ID:
1
Category:
Rating :

Related articles