Home > @magiclane/maps-sdk > TtsLocalizationService > getLanguageNativeName

TtsLocalizationService.getLanguageNativeName() method

Retrieves the native name of the given language for TTS.

The native name is the language's name in that language itself and can be used to present language choices to users in their own language.

Signature:

static getLanguageNativeName(language: Language): string;

Parameters

Parameter

Type

Description

language

Language

The Language for which to retrieve the native name

Returns:

string

The native name of the specified language