inline fun <reified T> withDefaultLocale(locale: Locale, block: () -> T): T
Replaces the default Locale
This function replaces the current default locale with locale, then executes block and finally returns the original default locale to it's place.
Attention: This code is subject to race conditions. The System can only have one default locale, and if you change the locale while it was already changed, the result may be inconsistent.