public function getTranslation(
        string $project,
        string $resource,
        string $lang,
        string $mode = ''
    ): ResponseInterface {
        $uri = $this->createUri("/api/2/project/$project/resource/$resource/translation/$lang");

        if (!empty($mode)) {
            $uri = $uri->withQuery("mode=$mode&file");
        }

        return $this->client->sendRequest($this->createRequest('GET', $uri));
    }