Home > @magiclane/maps-sdk > Language

Language class

Complete language specification.

Core

Signature:

export declare class Language 

Constructors

Constructor

Modifiers

Description

(constructor)(name, languageCode, regionCode, scriptCode, righttoleft, scriptVariant)

Constructs a new instance of the Language class

Properties

Property

Modifiers

Type

Description

languageCode

string

ISO 639-3 three-letter language code.

name

string

Language name.

regionCode

string

ISO 3166-1 three-letter region code.

righttoleft

boolean

scriptCode

string

ISO 15924 four-letter script code.

scriptVariant

ScriptVariant

Script variant.

Methods

Method

Modifiers

Description

equals(other)

fromJson(json)

static

hashCode()

toJson()