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

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

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

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

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

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