core-bundle/src/Resources/contao/library/Contao/Template.php
public function trans($strId, array $arrParams=array(), $strDomain='contao_default')
	{
		return System::getContainer()->get('translator')->trans($strId, $arrParams, $strDomain);
	}
public function trans($strId, array $arrParams=array(), $strDomain='contao_default')
	{
		return System::getContainer()->get('translator')->trans($strId, $arrParams, $strDomain);
	}
Returns a translated message

@param string $strId
@param array  $arrParams
@param string $strDomain

@return string