framework/RedKiteCms/Bridge/Translation/Translator.php
public static function translate($message, $parameters = array(), $domain = "RedKiteCms", $locale = null)
    {
        if (null === self::$translator) {
            return $message;
        }

        return self::$translator->trans($message, $parameters, $domain, $locale);
    }
public static function translate($message, $parameters = array(), $domain = "RedKiteCms", $locale = null)
    {
        if (null === self::$translator) {
            return $message;
        }

        return self::$translator->trans($message, $parameters, $domain, $locale);
    }
public static function translate ( $ message , $ parameters = array ( ) , $ domain = "RedKiteCms" , $ locale = null ) { if ( null === self :: $ translator ) { return $ message ; } return self :: $ translator -> trans ( $ message , $ parameters , $ domain , $ locale ) ; }
Translates the given message

@param        $message
@param array  $parameters
@param string $domain
@param null   $locale
@return string
Translates the given message