This package is abandoned and no longer maintained. No replacement package was suggested.

Melis Platform Site Translation module

v3.0.10 2019-04-10 09:47 UTC


MelisSiteTranslation allows to manage the text translation of every module.

Getting Started

These instructions will get you a copy of the project up and running on your machine.


You will need to install melisplatform/melis-core, melisplatform/melis-cms and melisplatform/melis-engine in order to have this module running.
This will automatically be done when using composer.


Run the composer command:

composer require melisplatform/melis-site-translation


Database model is accessible on the MySQL Workbench file:
Database will be installed through composer and its hooks.
In case of problems, SQL files are located here:

Tools & Elements provided

  • Site Translation tool

Running the code

MelisSiteTranslation Services

  • MelisSiteTranslationService
    Provides services to translate text and list all translations
    File: /melis-site-translation/src/Service/MelisSiteTranslationService.php
//Get the service
$melisSiteTranslationService = $this->getServiceLocator()->get('MelisSiteTranslationService');
//translate a certain text using translation key(eg. tr_translation_name)
//$langId - (optional) language id
$translatedText = $melisSiteTranslationService->getText($key, $langId);


See also the list of contributors who participated in this project.


This project is licensed under the OSL-3.0 License - see the LICENSE file for details