getLocale

open override fun getLocale(context: Context): Locale

Returns the Locale object for the current language setting.

Return

The Locale object for the current language

Parameters

context

The context to get the locale