public function load($locale, $delimiter = null)
	{
		if ( ! isset($this->locales[$locale]))
		{
			throw new LocaleNotFoundException("The locale '$locale' was not found in this collection.");
		}

		if ( ! is_null($delimiter))
		{
			$this->locales[$locale]->setDelimiter($delimiter);
		}
		$this->locales[$locale]->flatten();
		$this->activeLocale = $locale;
		return $this;
	}
public function load($locale, $delimiter = null)
	{
		if ( ! isset($this->locales[$locale]))
		{
			throw new LocaleNotFoundException("The locale '$locale' was not found in this collection.");
		}

		if ( ! is_null($delimiter))
		{
			$this->locales[$locale]->setDelimiter($delimiter);
		}
		$this->locales[$locale]->flatten();
		$this->activeLocale = $locale;
		return $this;
	}
public function load ( $ locale , $ delimiter = null ) { if ( ! isset ( $ this -> locales [ $ locale ] ) ) { throw new LocaleNotFoundException ( "The locale '$locale' was not found in this collection." ) ; } if ( ! is_null ( $ delimiter ) ) { $ this -> locales [ $ locale ] -> setDelimiter ( $ delimiter ) ; } $ this -> locales [ $ locale ] -> flatten ( ) ; $ this -> activeLocale = $ locale ; return $ this ; }
Loads a given local to be ready to use.

@param string $locale
@param string $delimiter
@chainable
Loads a given local to be ready to use .