LanguageScriptOutput interface

Common properties of language script

Properties

code

Code identifying the script.

dir

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

name

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

nativeName

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

Property Details

code

Code identifying the script.

code: string

Property Value

string

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 script in the locale requested via Accept-Language header.

name: string

Property Value

string

nativeName

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

nativeName: string

Property Value

string