<Kotlin AlertDialog doesn't apply language change>...
# stackoverflow
u
Kotlin AlertDialog doesn't apply language change I have created AlretDialog in order to change app language, while selected item is detected the app language will not change. Code PrefManager.kt class PrefManager(private val mContext: Context) { private var editor: SharedPreferences.Editor? = null private var prefs: SharedPreferences? = null private val LANGUAGE = "language" private val PREF = "app_language" var language: String? get() { this.prefs = this.mContext.getSharedPreferences(PREF, 0)...