You are here

protected function Translator::loadCatalogue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Translator.php \Symfony\Component\Translation\Translator::loadCatalogue()

Parameters

string $locale:

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

File

vendor/symfony/translation/Translator.php, line 285

Class

Translator
Translator.

Namespace

Symfony\Component\Translation

Code

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