src/i18n/Messages/Symfony/ModuleYamlLoader.php
protected function normaliseMessages($messages, $locale)
    {
        foreach ($messages as $key => $value) {
            $messages[$key] = $this->normaliseMessage($key, $value, $locale);
        }
        return $messages;
    }
protected function normaliseMessages($messages, $locale)
    {
        foreach ($messages as $key => $value) {
            $messages[$key] = $this->normaliseMessage($key, $value, $locale);
        }
        return $messages;
    }
protected function normaliseMessages ( $ messages , $ locale ) { foreach ( $ messages as $ key => $ value ) { $ messages [ $ key ] = $ this -> normaliseMessage ( $ key , $ value , $ locale ) ; } return $ messages ; }
Normalises plurals in messages from rails-yaml format to symfony.

@param array $messages List of messages
@param string $locale
@return array Normalised messages
Normalises plurals in messages from rails - yaml format to symfony .