getLanguage

abstract fun getLanguage(): String?

获取当前设置的语言代码。

Return

返回当前语言的代码(例如 en-US)。如果尚未通过 setLanguage 设置任何语言,可能返回 null 或一个默认值。