I've got the following code in a view :
@(lang:Lang)...
...
<div>
...
@helper.form(action = routes.item.add) {
<p>@helper.inputText(myItem("name"))</p>
...
}
...
</div>
In my internationalization files, i have entries for name.
e.g. :
- in
messages.en:name=Name - in
messages.fr:name=Nom
The view is always rendered with the french label for this inputText and I don't know how to change for another langage, e.g. using the global parameter lang defined in my view.
I was looking for some solutions like : @helper.form(action = routes.item.add, lang) or the same kind of code at inputText level.