src/Translate.php
public static function __(string $code) : string
    {
        $t = self::getInstance();
        if (!isset($t->translations[$code])) {
            return $code;
        }
        return $t->translations[$code];
    }
public static function __(string $code) : string
    {
        $t = self::getInstance();
        if (!isset($t->translations[$code])) {
            return $code;
        }
        return $t->translations[$code];
    }
public static function __ ( string $ code ) : string { $ t = self :: getInstance ( ) ; if ( ! isset ( $ t -> translations [ $ code ] ) ) { return $ code ; } return $ t -> translations [ $ code ] ; }
Get the current Translation

@param string $code
@return string
Get the current Translation