API reference

LanguagePackInfo Interface

It contains information about a specific language, including its identification tag, and names in both English and the native language. It is useful for applications supporting multiple languages. It can be retrieved using AssetDetails.language. Learn more about language pack in our website

Signature

interface LanguagePackInfo

Properties

englishName : String
[Get]
Language name in English language. For example, the English name for "de.lang" will be "German".
Signature
abstract val englishName: String
nativeName : String
[Get]
Language name in its native language. For example, the native name for "de.lang" will be "Deutsch".
Signature
abstract val nativeName: String
tag : String
[Get]
Language tag in BCP47⁠ format with a suffix of "lang". For example, "de.lang" is a valid language pack name and its tag will be "de".
Signature
abstract val tag: String