[ Another Mantis plugins Website ]

[ Home ] [ MantisUserImport Plugin ] [ MantisLanguages Plugin ]

MantisLanguages Plugins


The "MantisLanguages" plug-in is a Mantis plug-in which allow us to translate the category names and the names and values of the custom fields.


The version necessary to use this plug-in is the 1.2RC. To download the plug-in, please use the following link:

[ MantisLanguages 1.0 ]


As Mantis 1.2rc includes by default a plug-in questionnaire ( Setup, unSetup), to install “MantisLanguages”, you need only to download and uncompress it under the plug-in directory in the Mantis tree. It looks like the following:


Then, We need to erase the three files named fichiers "category_api.php", "custom_field_api.php" and "events_inc.php" in the “core” repertory of Mantis, with the ones provided in the plug-in archive.


At this stage, it’s only remaining to use the admin GUI, and especially the section named: “Gérer les plugiciels”. In the list of available plug-in, you might see the "MantisUserImport" plug-in ready to be installed. Click on “Installation” to setup It.



Let’s configure this plugin ! No worries, the plug-in configuration is simple. This one is based only on the constant change. In the repertory “pages” of our plug-in, there is a file named “constant_inc.php”. This file holds constants linked to some default parameter associated to the LDAP, as well as the plug-in configuration (e.g: design, position on Mantis).


For example, in the case we would modify the default language (language used by default when a field is created), we need to modify the variable "MANTISLANGUAGES_ORIGINAL_LANGUAGE".


It is possible to choose which menu will host the plug-in. We just have to modify the constant named "MANTIS_IMPORTUSER_PLACE_PLUGIN". The theoretical available values are listed in this page.

[ See the event Menu list ]

Thus, if we need to position the plugin in the administration menu, we fix the constant like the following.


This plug-in is multi-language. In order to modify the translation as our wishing, we need to go in the “lang” repertory of this plug-in. This repertory holds for each language, one file associated. For example, to modify the English translation associated to a title or button label, we need only to change the value associated to the corresponding variable. In the case of the language file needed is not, all we have to do is to create it with the same variables inside as the “English” language file. Then, it’s only remaining to do the translation.



[ Developer Documentation ]