protected function initManyDomains($locale, $domain) {
		$source = $this->getCatalogContent($locale, $domain);
		
		if ($source !== false) {
			$domains = parse_ini_string($source, true);
			
			if ($domains === false) {
				throw new ParseError('Error has occurred while parsing INI file for the locale: "' . $locale . '"');
			}

			$this->catalogs = array_replace_recursive($this->catalogs, [$locale => $domains]);
		}

		if (! isset($this->initializedCatalogs[$locale])) {
			$this->initializedCatalogs[$locale] = [];
		}

		foreach (array_keys($domains) as $domain) {
			$this->initializedCatalogs[$locale][$domain] = true;
		}
	}
protected function initManyDomains($locale, $domain) {
		$source = $this->getCatalogContent($locale, $domain);
		
		if ($source !== false) {
			$domains = parse_ini_string($source, true);
			
			if ($domains === false) {
				throw new ParseError('Error has occurred while parsing INI file for the locale: "' . $locale . '"');
			}

			$this->catalogs = array_replace_recursive($this->catalogs, [$locale => $domains]);
		}

		if (! isset($this->initializedCatalogs[$locale])) {
			$this->initializedCatalogs[$locale] = [];
		}

		foreach (array_keys($domains) as $domain) {
			$this->initializedCatalogs[$locale][$domain] = true;
		}
	}
protected function initManyDomains ( $ locale , $ domain ) { $ source = $ this -> getCatalogContent ( $ locale , $ domain ) ; if ( $ source !== false ) { $ domains = parse_ini_string ( $ source , true ) ; if ( $ domains === false ) { throw new ParseError ( 'Error has occurred while parsing INI file for the locale: "' . $ locale . '"' ) ; } $ this -> catalogs = array_replace_recursive ( $ this -> catalogs , [ $ locale => $ domains ] ) ; } if ( ! isset ( $ this -> initializedCatalogs [ $ locale ] ) ) { $ this -> initializedCatalogs [ $ locale ] = [ ] ; } foreach ( array_keys ( $ domains ) as $ domain ) { $ this -> initializedCatalogs [ $ locale ] [ $ domain ] = true ; } }
Initialize all domains for the exact locale

@param  string $locale
@param  string $domain
@throws ParseError
Initialize all domains for the exact locale