src/Connector/Translations.php
public function updateTranslation(
        string $project,
        string $resource,
        string $lang,
        string $content,
        string $type = 'string'
    ): ResponseInterface {
        return $this->updateResource(
            $this->createUri("/api/2/project/$project/resource/$resource/translation/$lang"),
            $content,
            $type
        );
    }
public function updateTranslation(
        string $project,
        string $resource,
        string $lang,
        string $content,
        string $type = 'string'
    ): ResponseInterface {
        return $this->updateResource(
            $this->createUri("/api/2/project/$project/resource/$resource/translation/$lang"),
            $content,
            $type
        );
    }
public function updateTranslation ( string $ project , string $ resource , string $ lang , string $ content , string $ type = 'string' ) : ResponseInterface { return $ this -> updateResource ( $ this -> createUri ( "/api/2/project/$project/resource/$resource/translation/$lang" ) , $ content , $ type ) ; }
Update the content of a translation within a project.

@param string $project  The project the resource is part of
@param string $resource The resource slug within the project
@param string $lang     The language to return the translation for
@param string $content  The content of the resource, this can either be a string of data or a file path
@param string $type     The type of content in the $content variable, this should be either string or file

@return ResponseInterface
Update the content of a translation within a project .