public sealed class Flow.Types.MultiLanguageSettings : IMessage<Flow.Types.MultiLanguageSettings>, IEquatable<Flow.Types.MultiLanguageSettings>, IDeepCloneable<Flow.Types.MultiLanguageSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class Flow.Types.MultiLanguageSettings.
public bool EnableMultiLanguageDetection { get; set; }
Optional. Enable multi-language detection for this flow. This can be set
only if [agent level multi language
setting][Agent.enable_multi_language_training] is enabled.
public RepeatedField<string> SupportedResponseLanguageCodes { get; }
Optional. Agent will respond in the detected language if the detected
language code is in the supported resolved languages for this flow. This
will be used only if multi-language training is enabled in the
[agent][google.cloud.dialogflow.cx.v3.Agent.enable_multi_language_training]
and multi-language detection is enabled in the
[flow][google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings.enable_multi_language_detection].
The supported languages must be a subset of the languages supported by
the agent.
[[["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 latest version of \u003ccode\u003eFlow.Types.MultiLanguageSettings\u003c/code\u003e is 2.23.0, with numerous previous versions available for reference, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFlow.Types.MultiLanguageSettings\u003c/code\u003e is a class within the Dialogflow v3 API, specifically designed to handle multi-lingual settings for agents.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFlow.Types.MultiLanguageSettings\u003c/code\u003e class allows you to enable multi-language detection for a specific flow, provided the agent-level multi-language training is enabled.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a list of supported response language codes, allowing the agent to respond in the detected language if it is part of this list, and the agent-level training and flow-level detection are both enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMultiLanguageSettings\u003c/code\u003e class allows for the creation of new instances of multi language settings, and the copying of existing ones, as well as inheriting the implementation of the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"]]],[],null,["# Dialogflow v3 API - Class Flow.Types.MultiLanguageSettings (2.24.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.24.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.23.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.23.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.22.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.22.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.21.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.21.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.20.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.20.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.19.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.18.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.17.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.16.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.15.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.14.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.13.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.12.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.11.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.10.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.9.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.8.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.7.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.6.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.5.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.4.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.3.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.2.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.1.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.0.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.13.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.12.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.11.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.10.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.9.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.8.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.7.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.6.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.5.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.4.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.3.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.2.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.1.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.0.0/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings) \n\n public sealed class Flow.Types.MultiLanguageSettings : IMessage\u003cFlow.Types.MultiLanguageSettings\u003e, IEquatable\u003cFlow.Types.MultiLanguageSettings\u003e, IDeepCloneable\u003cFlow.Types.MultiLanguageSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dialogflow v3 API class Flow.Types.MultiLanguageSettings.\n\nSettings for multi-lingual agents. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Flow.Types.MultiLanguageSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Flow](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow)[Types](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.Types)[MultiLanguageSettings](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Flow](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow)[Types](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.Types)[MultiLanguageSettings](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Flow](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow)[Types](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.Types)[MultiLanguageSettings](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.Types.MultiLanguageSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \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.Dialogflow.Cx.V3](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.Cx.V3.dll\n\nConstructors\n------------\n\n### MultiLanguageSettings()\n\n public MultiLanguageSettings()\n\n### MultiLanguageSettings(MultiLanguageSettings)\n\n public MultiLanguageSettings(Flow.Types.MultiLanguageSettings other)\n\nProperties\n----------\n\n### EnableMultiLanguageDetection\n\n public bool EnableMultiLanguageDetection { get; set; }\n\nOptional. Enable multi-language detection for this flow. This can be set\nonly if \\[agent level multi language\nsetting\\]\\[Agent.enable_multi_language_training\\] is enabled.\n\n### SupportedResponseLanguageCodes\n\n public RepeatedField\u003cstring\u003e SupportedResponseLanguageCodes { get; }\n\nOptional. Agent will respond in the detected language if the detected\nlanguage code is in the supported resolved languages for this flow. This\nwill be used only if multi-language training is enabled in the\n\\[agent\\]\\[google.cloud.dialogflow.cx.v3.Agent.enable_multi_language_training\\]\nand multi-language detection is enabled in the\n\\[flow\\]\\[google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings.enable_multi_language_detection\\].\nThe supported languages must be a subset of the languages supported by\nthe agent."]]