W3cubDocs

/Symfony 4.1

TranslationReaderInterface

interface TranslationReaderInterface

TranslationReader reads translation messages from translation files.

Methods

read(string $directory, MessageCatalogue $catalogue)

Reads translation messages from a directory to the catalogue.

Details

read(string $directory, MessageCatalogue $catalogue)

Reads translation messages from a directory to the catalogue.

Parameters

string $directory
MessageCatalogue $catalogue

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Translation/Reader/TranslationReaderInterface.html