PreferLocale

Allows changing the default locale with another preferred locale, the available locales will depend on how the message source was created.

When applied to an interface, all functions are affected, if the annotation is on both the function and the class, the function is prioritized.

See also

Properties

Link copied to clipboard
@get:JvmName(name = "value")
val preference: LocalePreference

The locale to prefer.