Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Localization tool for play framework
Java JavaScript
branch: master

This branch is 1 commit ahead, 28 commits behind huljas:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
conf
documentation/manual
public
src/play/modules/messages
test-application
.gitignore
COPYING
README.md
build.xml

README.md

Play Messages Module

This module gives you a tool in @messages for localizing your application.

Tested with play 1.1 and 1.2 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 localizations with one language while comparing it with another
  • 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
  • Add new keys if needed
  • Remove existing keys
  • Localizations are saved in alphabetical order in your application's messages file

Usage

Play 1.1: Add the module to your application application.conf

module.messages=[path to module]

Play 1.2: Add the module to your dependencies.yml

- play -> messages 1.1

Add the module to the routes

*     /     module:play-messages

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.

Something went wrong with that request. Please try again.