protected function loadDomain($domain, $locale)
    {
        $event = new LoadLanguageFileEvent($domain, $locale);

        $this->eventDispatcher->dispatch(ContaoEvents::SYSTEM_LOAD_LANGUAGE_FILE, $event);
    }
protected function loadDomain($domain, $locale)
    {
        $event = new LoadLanguageFileEvent($domain, $locale);

        $this->eventDispatcher->dispatch(ContaoEvents::SYSTEM_LOAD_LANGUAGE_FILE, $event);
    }
protected function loadDomain ( $ domain , $ locale ) { $ event = new LoadLanguageFileEvent ( $ domain , $ locale ) ; $ this -> eventDispatcher -> dispatch ( ContaoEvents :: SYSTEM_LOAD_LANGUAGE_FILE , $ event ) ; }
Load the language strings for the given domain in the passed locale.

@param string $domain The domain to load.

@param string $locale The locale to use.

@return void

@codeCoverageIgnore
Load the language strings for the given domain in the passed locale .