AITranslationTextModelFactory.TransliterationLanguage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET