Play! Messages Module


License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.google.code.maven-play-plugin.org.playframework.modules.messages
ArtifactId

ArtifactId

play-messages
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

jar
Description

Description

Play! Messages Module
Play! Messages Module
Source Code Management

Source Code Management

https://github.com/huljas/play-messages

Download play-messages

How to add to project

<!-- https://jarcasting.com/artifacts/com.google.code.maven-play-plugin.org.playframework.modules.messages/play-messages/ -->
<dependency>
    <groupId>com.google.code.maven-play-plugin.org.playframework.modules.messages</groupId>
    <artifactId>play-messages</artifactId>
    <version>1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.google.code.maven-play-plugin.org.playframework.modules.messages/play-messages/
implementation 'com.google.code.maven-play-plugin.org.playframework.modules.messages:play-messages:1.3'
// https://jarcasting.com/artifacts/com.google.code.maven-play-plugin.org.playframework.modules.messages/play-messages/
implementation ("com.google.code.maven-play-plugin.org.playframework.modules.messages:play-messages:1.3")
'com.google.code.maven-play-plugin.org.playframework.modules.messages:play-messages:jar:1.3'
<dependency org="com.google.code.maven-play-plugin.org.playframework.modules.messages" name="play-messages" rev="1.3">
  <artifact name="play-messages" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.google.code.maven-play-plugin.org.playframework.modules.messages', module='play-messages', version='1.3')
)
libraryDependencies += "com.google.code.maven-play-plugin.org.playframework.modules.messages" % "play-messages" % "1.3"
[com.google.code.maven-play-plugin.org.playframework.modules.messages/play-messages "1.3"]

Dependencies

provided (1)

Group / Artifact Type Version
com.google.code.maven-play-plugin.org.playframework : play jar 1.2

Project Modules

There are no modules declared in this project.

Play Messages Module

This module gives you a tool for localizing your application.

Tested with play 2.1.1 on windows and linux.

Features

  • Web based tool for localizing your application
  • Finds localization keys from your sources
  • Keys are clearly divided into new, existing and obsolete
  • Allows you to edit all localizations within one table
  • Ignore list for keys that should not be shown as new keys, intended for keys that are falsely identified as localization keys
  • Keep list for keys that are should be treated as normal keys although they are not found in the sources
  • Remove existing keys
  • Localizations are saved in alphabetical order in your application's messages file

Usage

Add the module dependency to your application Build.scala

"de.corux" %% "play-messages" % "[2.0,)"

Add the module to the routes

-> /@messages    play.messages.Routes

Start your application and access the tool in @messages:

http://localhost:9000/@messages

You can specify the source folders the tool scans in the application.conf, for example

messages.srcDir=app,public/javascripts

if you want to include localizations in your javascripts. Default value for this property is app. Take a look at reference.conf for all available options.

Versions

Version
1.3