[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-10 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)."]]