interface TranslationLoaderInterface (View source)

Translation loaders provide a standardized way to load new translations into the translator adapters.

Methods

loadTranslations(TranslatorAdapterInterface $translatorAdapter)

Loads the translations from this loader type into the given translator instance.

Details

loadTranslations(TranslatorAdapterInterface $translatorAdapter)

Loads the translations from this loader type into the given translator instance.

The given translator instance should have the correct locale already set for it which defines the loader which translations should be loaded.

Parameters

TranslatorAdapterInterface $translatorAdapter

The translator object