TranslationLoader

class TranslationLoader

TranslationLoader loads translation messages from translation files.

Methods

addLoader(string $format, LoaderInterface $loader)

Adds a loader to the translation extractor.

loadMessages(string $directory, MessageCatalogue $catalogue)

Loads translation messages from a directory to the catalogue.

Details

addLoader(string $format, LoaderInterface $loader)

Adds a loader to the translation extractor.

Parameters

string $format The format of the loader
LoaderInterface $loader

loadMessages(string $directory, MessageCatalogue $catalogue)

Loads translation messages from a directory to the catalogue.

Parameters

string $directory the directory to look into
MessageCatalogue $catalogue the catalogue
doc_Symfony
2016-10-28 06:35:13
Comments
Leave a Comment

Please login to continue.