- preferred
Get a messages context appropriate for the given request. Will select a language
from the request, b
- get
Translates the first defined message. Uses `java.text.MessageFormat` internally
to format the messag
- convertArgsToScalaBuffer
Converts the varargs to a scala buffer, takes care of wrapping varargs into a
intermediate list if n
- isDefinedAt
Check if a message key is defined.
- wrapArgsToListIfNeeded
Wraps arguments passed into a list if necessary. Returns the first value as is
if it is the only arg
- asScala
- clearLang
Given a Result, return a new Result with the lang cookie discarded.
- langCookieHttpOnly
- langCookieName
- langCookieSameSite
- langCookieSecure
- setLang
Given a Result and a Lang, return a new Result with the lang cookie set to the
given Lang.