Play framework 2.x laconic template internationalization
playframework, playframework-2.0
Solution
That's the standard way. You could create your own tag:
//file: I.scala.html under views.tags
@(key: String)
@Messages.get(key)
and then use it like
@import tags._ //to import tags, only once per template
@I("my.key")
Problem
Does anyone know a more laconic way to internationalization than: ``` <h2>@Messages.get("Title")</h2> ``` Something in the spirit of the Play 1.x: ``` <h2>&{'Title'}</h2> ```