class TranslationReader implements TranslationReaderInterface
TranslationReader reads translation messages from translation files.
addLoader(string $format, LoaderInterface $loader) Adds a loader to the translation extractor. | ||
read(string $directory, MessageCatalogue $catalogue) Reads translation messages from a directory to the catalogue. |
Adds a loader to the translation extractor.
string | $format | The format of the loader |
LoaderInterface | $loader |
Reads translation messages from a directory to the catalogue.
string | $directory | |
MessageCatalogue | $catalogue |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Translation/Reader/TranslationReader.html