Package-level declarations

Types

Link copied to clipboard

I18n configuration. Currently, it supports availableLanguages and defaultLanguage

Properties

Link copied to clipboard

Represents I18n feature and its configuration.

Link copied to clipboard

Get the current accepted locale specified in the HTTP request

Functions

Link copied to clipboard
fun ApplicationCall.i18n(@PropertyKey(resourceBundle = "messages.messages") key: String): String
fun RoutingContext.i18n(@PropertyKey(resourceBundle = "messages.messages") key: String): String

Translate a message key to an accepted language specified in HTTP request