Read meCreate your own detection

Installation

Installer

The installer in Mouf framework create an instance of CascadingLanguageDetection and add it the FixedLanguageDetection with the language "en" for english.

Create instance

With instance of Fine Common

With only a translator

Create an instance of cascadingLanguageDetection "Instances" -> "Create a new instance" Fine install screenshot

Click on "add an instance" and drag and drop an instance of LanguageDetection in the array. Caution to the order because the first language return is returned, so your new instance must be before the fixed instance. (in own case we added and DomainLanguageDetection) Fine install screenshot

Click on the new instance to configure it Fine install screenshot

Your language detection is ready !

Read meCreate your own detection

Found a typo? Something is wrong in this documentation? Just fork and edit it!