HowToAddLanguage
From Wiki Centreon
This section explains how to add a language to your Centreon's interface. The procedure is based on a Debian installation, so make sure to download the specific packages of your distribution.
Prerequist installation
First of all, you would need the gettext tool:
$> apt-get install gettext
Then, get the precompiled local data for your system:
$> apt-get install locales-all
Installing a translation file
Now, you can start compiling your file messages.po. This is what you have to do assuming that you want to install French on Centreon: Create a new directory in /www/locale/ :
$> mkdir /usr/local/centreon/www/locale/fr_FR/ $> mkdir /usr/local/centreon/www/locale/fr_FR/LC_MESSAGES/
The name of the directory is very important, it has to be the language_country code. For French it's fr_FR, for Spanish it would be es_ES. It may also be necessary on some systems (Ubuntu) to add the charset code like fr_FR.UTF-8 or fr_FR.ISO-8859-1.
Compile the messages.po file :
$> msgfmt messages.po -o /usr/local/centreon/www/locale/fr_FR/LC_MESSAGES/messages.mo
Restart your Apache server after your messages.mo file is generated:
$> /etc/init.d/apache2 reload
User configuration in Centreon
Now, in the user configuration page of Centreon, you should be able to choose fr_FR.

