protected function getTranslations( $domain )
	{
		if( !isset( $this->translations[$domain] ) )
		{
			if ( !isset( $this->translationSources[$domain] ) )
			{
				$msg = sprintf( 'No translation directory for domain "%1$s" available', $domain );
				throw new \Aimeos\MW\Translation\Exception( $msg );
			}

			$locale = $this->getLocale();
			// Reverse locations so the former gets not overwritten by the later
			$locations = array_reverse( $this->getTranslationFileLocations( $this->translationSources[$domain], $locale ) );

			foreach( $locations as $location )
			{
				$translator = \Zend\I18n\Translator\MwTranslator::factory( $this->options );
				$translator->addTranslationFile( $this->adapter, $location, $domain, $locale );

				$this->translations[$domain][$location] = $translator;
			}
		}

		return ( isset( $this->translations[$domain] ) ? $this->translations[$domain] : [] );
	}
protected function getTranslations( $domain )
	{
		if( !isset( $this->translations[$domain] ) )
		{
			if ( !isset( $this->translationSources[$domain] ) )
			{
				$msg = sprintf( 'No translation directory for domain "%1$s" available', $domain );
				throw new \Aimeos\MW\Translation\Exception( $msg );
			}

			$locale = $this->getLocale();
			// Reverse locations so the former gets not overwritten by the later
			$locations = array_reverse( $this->getTranslationFileLocations( $this->translationSources[$domain], $locale ) );

			foreach( $locations as $location )
			{
				$translator = \Zend\I18n\Translator\MwTranslator::factory( $this->options );
				$translator->addTranslationFile( $this->adapter, $location, $domain, $locale );

				$this->translations[$domain][$location] = $translator;
			}
		}

		return ( isset( $this->translations[$domain] ) ? $this->translations[$domain] : [] );
	}
Returns the initialized Zend translation object which contains the translations.

@param string $domain Translation domain
@return array List of translation objects implementing Zend_Translate
@throws \Aimeos\MW\Translation\Exception If initialization fails