[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-30 UTC."],[[["\u003cp\u003eThis service detects the language of text submitted within a request.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made via a \u003ccode\u003ePOST\u003c/code\u003e request to the provided endpoint, including the project ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the content to be analyzed, along with an optional MIME type, in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will contain the language detection results in \u003ccode\u003eDetectLanguageResponse\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.detectLanguage\n\nDetects the language of text within a request.\n\n### HTTP request\n\n`POST https://{TRANSLATION_GDC_ENDPOINT}/v3/{parent}:detectLanguage`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [DetectLanguageResponse](/distributed-cloud/hosted/docs/latest/gdch/apis/vertex-ai/translation/rest/v3/DetectLanguageResponse)."]]