private function loadCatalogue($locale, array $dirs)
    {
        $currentCatalogue = new MessageCatalogue($locale);
        foreach ($dirs as $path) {
            if (is_dir($path)) {
                $this->reader->read($path, $currentCatalogue);
            }
        }

        $this->catalogues[$locale] = $currentCatalogue;
    }
private function loadCatalogue($locale, array $dirs)
    {
        $currentCatalogue = new MessageCatalogue($locale);
        foreach ($dirs as $path) {
            if (is_dir($path)) {
                $this->reader->read($path, $currentCatalogue);
            }
        }

        $this->catalogues[$locale] = $currentCatalogue;
    }
private function loadCatalogue ( $ locale , array $ dirs ) { $ currentCatalogue = new MessageCatalogue ( $ locale ) ; foreach ( $ dirs as $ path ) { if ( is_dir ( $ path ) ) { $ this -> reader -> read ( $ path , $ currentCatalogue ) ; } } $ this -> catalogues [ $ locale ] = $ currentCatalogue ; }
Load catalogue from files.

@param string $locale
@param array  $dirs
Load catalogue from files .