playframework setting custom message for @Required field globally

Viewed 2952

I am looking for help with translating Validation messeges in Play framework 2.2

I have fields that are required: f.e.

@Required(message = "To pole jest wymagane")
public String miesiac;

@Required
public String miejsce;

@Required
public String oddzial;

But I would to have this message: "To pole jest wymagane" globally. How can I achive it? Should I use conf/messagess.pl file for translation To polish language. Please give me some help

2 Answers
Related