code: public function dt( $domain, $singular )
  	{
  		$singular = (string) $singular;
  
  		try
  		{
  			$locale = $this->getLocale();
  
  			foreach( $this->getTranslations( $domain ) as $object )
  			{
  				if( ( $string = $object->translate( $singular, $domain, $locale ) ) != $singular ) {
  					return $string;
  				}
  			}
  		}
  		catch( \Exception $e ) { ; } // Discard errors, return original string instead
  
  		return (string) $singular;
  	}
docs: Returns the translated string for the given domain.
  
  @param string $domain Translation domain
  @param string $singular String to be translated
  @return string The translated string
  @throws \Aimeos\MW\Translation\Exception Throws exception on initialization of the translation