Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/i18n/Messages.html below:
Messages - play.api.i18n.Messages
final def !=(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
final def ##(): Int
-
Definition Classes
-
AnyRef â Any
final def ==(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
def apply(keys: Seq[String], args: Any*): String
Translates the first defined message.
Translates the first defined message.
Uses java.text.MessageFormat
internally to format the message.
-
keys
-
the message key
-
args
-
the message arguments
-
returns
-
the formatted message or a default rendering if the key wasnât defined
def apply(key: String, args: Any*): String
Translates a message.
Translates a message.
Uses java.text.MessageFormat
internally to format the message.
-
key
-
the message key
-
args
-
the message arguments
-
returns
-
the formatted message or a default rendering if the key wasnât defined
final def asInstanceOf[T0]: T0
def clone(): AnyRef
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def eq(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
def finalize(): Unit
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( classOf[java.lang.Throwable] )
final def getClass(): Class[_]
-
Definition Classes
-
AnyRef â Any
def isDefinedAt(key: String): Boolean
Check if a message key is defined.
Check if a message key is defined.
-
key
-
the message key
-
returns
-
a boolean
final def isInstanceOf[T0]: Boolean
val lang: Lang
The lang (context)
val messages: MessagesApi
The messages
final def ne(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
final def notify(): Unit
-
Definition Classes
-
AnyRef
final def notifyAll(): Unit
-
Definition Classes
-
AnyRef
final def synchronized[T0](arg0: â T0): T0
-
Definition Classes
-
AnyRef
def translate(key: String, args: Seq[Any]): Option[String]
Translates a message.
Translates a message.
Uses java.text.MessageFormat
internally to format the message.
-
key
-
the message key
-
args
-
the message arguments
-
returns
-
the formatted message, if this key was defined
final def wait(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long, arg1: Int): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4