Install
The installer add a instance defaultTranslationService to use the direct function without instance. This installer checkes if there are a class that implement LanguageTranslatorInterface to bind it automatically to the defaultTranslationService.
Bind another instance
The FineCacadingTranslator class is to cascading all your translator. If the first doesn't have the translation, the second is requested.... The first translator how has the response is returned. So the order of translators is very important.
Found the defaultTranslationService instance in Mouf, click on it. There is a table of TranslatorInterface
To add a new instance, please click on add an instance, don't forget to configure it!
To change the order, just drag and drop the instance before or after another
Your package is ready!
Found a typo? Something is wrong in this documentation? Just fork and edit it!