class LocaleProjectListener : LocaleListener, ProjectListener
Replaces the default Locale
This listener replaces the current default locale with locale, then executes the project 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.
<init> |
Replaces the default Locale LocaleProjectListener(newLocale: Locale) |
afterProject |
fun afterProject(): Unit |
beforeProject |
fun beforeProject(): Unit |