public function fetchTranslation($langcode, $mode = 'reviewed')
    {
        $parameters = array(
            'file' => '',
            'mode' => $mode
        );

        return $this->execute(
            sprintf(
                'project/%s/resource/%s/translation/%s',
                $this->ensureParameter('project'),
                $this->ensureParameter('slug'),
                $langcode
            ),
            $parameters
        );
    }
public function fetchTranslation($langcode, $mode = 'reviewed')
    {
        $parameters = array(
            'file' => '',
            'mode' => $mode
        );

        return $this->execute(
            sprintf(
                'project/%s/resource/%s/translation/%s',
                $this->ensureParameter('project'),
                $this->ensureParameter('slug'),
                $langcode
            ),
            $parameters
        );
    }
public function fetchTranslation ( $ langcode , $ mode = 'reviewed' ) { $ parameters = array ( 'file' => '' , 'mode' => $ mode ) ; return $ this -> execute ( sprintf ( 'project/%s/resource/%s/translation/%s' , $ this -> ensureParameter ( 'project' ) , $ this -> ensureParameter ( 'slug' ) , $ langcode ) , $ parameters ) ; }
Fetch a certain translation of the resource.

@param string $langcode The language code of the language to retrieve.

@param string $mode     The translation mode to use ('reviewed', 'translated' or 'default).

@return string
Fetch a certain translation of the resource .