Also set system locale with the Java API. Closes #978

This commit is contained in:
len 2017-09-29 20:08:40 +02:00
parent 8307daee63
commit 3e8ed8a171

View File

@ -89,6 +89,8 @@ object LocaleHelper {
val newConfig = updateConfigLocale(config, currentLocale!!) val newConfig = updateConfigLocale(config, currentLocale!!)
val resources = app.resources val resources = app.resources
resources.updateConfiguration(newConfig, resources.displayMetrics) resources.updateConfiguration(newConfig, resources.displayMetrics)
Locale.setDefault(currentLocale)
} }
/** /**