Share via


TranslationLanguageOutput interface

The value of the translation property is a dictionary of (key, value) pairs. Each key is a BCP 47 language tag. A key identifies a language for which text can be translated to or translated from.

Properties

dir

Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.

name

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

nativeName

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

Property Details

dir

Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.

dir: LanguageDirectionalityOutput

Property Value

name

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

name: string

Property Value

string

nativeName

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

nativeName: string

Property Value

string