Skip to content

Instantly share code, notes, and snippets.

@jprudent
Created September 17, 2011 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jprudent/1223889 to your computer and use it in GitHub Desktop.
Save jprudent/1223889 to your computer and use it in GitHub Desktop.
internationalization tag for playframework + scala
@(msg:String,params:Object *)@play.i18n.Messages.get(msg,params.toArray : _*)
//for example @i18n("index.hello","Marmite") in any play scala template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment