Share via


AITranslationTextModelFactory.TransliterationLanguage Method

Definition

Initializes a new instance of TransliterationLanguage.

public static Azure.AI.Translation.Text.TransliterationLanguage TransliterationLanguage (string name = default, string nativeName = default, System.Collections.Generic.IEnumerable<Azure.AI.Translation.Text.TransliterableScript> scripts = default);
static member TransliterationLanguage : string * string * seq<Azure.AI.Translation.Text.TransliterableScript> -> Azure.AI.Translation.Text.TransliterationLanguage
Public Shared Function TransliterationLanguage (Optional name As String = Nothing, Optional nativeName As String = Nothing, Optional scripts As IEnumerable(Of TransliterableScript) = Nothing) As TransliterationLanguage

Parameters

name
String

Display name of the language in the locale requested via Accept-Language header.

nativeName
String

Display name of the language in the locale native for this language.

scripts
IEnumerable<TransliterableScript>

List of scripts to convert from.

Returns

A new TransliterationLanguage instance for mocking.

Applies to