public function translate($text, $language, $format = 'plain', $options = null)
    {
        
        /*
            html code autodetection
            i will appreciate if smb tell me a beetter way
            to detect html code in a string
        */
        if ($format == 'auto') {
            if (is_array($text)) {
                $textD = implode('', $text);
            } else {
                $textD = $text;
            }
            $format = $textD == strip_tags($textD) ? 'plain' : 'html';
        }
        
        $callResult = $this->makeCall(
            'translate', array(
                'text'      => $text,
                'lang'      => $language,
                'format'    => $format,
            )
        );
        return new TranslationResponse($callResult, $text);
    }