getClientLanguage

abstract fun getClientLanguage(languageName: String?): Map<String, String>

Gets client language data by name or default language if not found.

Return

A map representing the client language data.

Parameters

languageName

The name of the language to retrieve.


open fun getClientLanguage(holder: McChatHolder): Map<String, String>

Gets client language data based on the chat holder's language setting.

Return

A map representing the client language data.

Parameters

holder

The chat holder whose language setting is used.