[[["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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLanguage\u003c/code\u003e class in the Google Cloud Translation v2 API represents a language supported by the API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eLanguage\u003c/code\u003e class documentation is 3.4.0, with older versions from 3.3.0 down to 2.1.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eIt is constructed using a \u003ccode\u003ename\u003c/code\u003e and \u003ccode\u003ecode\u003c/code\u003e, both string values, for which the name can be null but the code can not be null.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLanguage\u003c/code\u003e class has two properties: \u003ccode\u003eCode\u003c/code\u003e, representing the language code for API usage, and \u003ccode\u003eName\u003c/code\u003e, the descriptive name of the language, which can be null.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and resides in the \u003ccode\u003eGoogle.Cloud.Translation.V2\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.Translation.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Translation v2 API - Class Language (3.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Translation.V2/latest/Google.Cloud.Translation.V2.Language)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Translation.V2/3.3.0/Google.Cloud.Translation.V2.Language)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Translation.V2/3.2.0/Google.Cloud.Translation.V2.Language)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Translation.V2/3.1.0/Google.Cloud.Translation.V2.Language)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Translation.V2/3.0.0/Google.Cloud.Translation.V2.Language)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Translation.V2/2.1.0/Google.Cloud.Translation.V2.Language) \n\n public sealed class Language\n\nReference documentation and code samples for the Google Cloud Translation v2 API class Language.\n\nA language supported by the Google Cloud Translation API. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Language \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Translation.V2](/dotnet/docs/reference/Google.Cloud.Translation.V2/latest/Google.Cloud.Translation.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Translation.V2.dll\n\nConstructors\n------------\n\n### Language(string, string)\n\n public Language(string name, string code)\n\nConstructs an instance.\n\nProperties\n----------\n\n### Code\n\n public string Code { get; }\n\nThe code to use for the language when providing this to the API\nas a source or target language.\n\n### Name\n\n public string Name { get; }\n\nThe descriptive name of the language, e.g. \"English\". May be null if no target language was\nprovided when requesting the supported languages."]]