play.api

i18n

package i18n

Contains the internationalisation API.

For example, translating a message:

val msgString = Messages("items.found", items.size)
Visibility
  1. Public
  2. All

Type Members

  1. case class Lang (language: String, country: String) extends Product with Serializable

    A Lang supported by the application.

  2. case class MessagesApi (messages: Map[String, Map[String, String]]) extends Product with Serializable

    The internationalisation API.

  3. class MessagesPlugin extends Plugin

    Play Plugin for internationalisation.

Value Members

  1. object Lang extends Serializable

    Utilities related to Lang values.

  2. object Messages extends AnyRef

    High-level internationalisation API (not available yet).