You are here

protected function Translator::loadCatalogue in Plug 7

Parameters

string $locale:

1 call to Translator::loadCatalogue()
Translator::getCatalogue in lib/Symfony/translation/Translator.php
Gets the catalogue by locale.

File

lib/Symfony/translation/Translator.php, line 311

Class

Translator
Translator.

Namespace

Symfony\Component\Translation

Code

protected function loadCatalogue($locale) {
  if (null === $this->cacheDir) {
    $this
      ->initializeCatalogue($locale);
  }
  else {
    $this
      ->initializeCacheCatalogue($locale);
  }
}