The error messages such a the messages in the app/controllers/inscription.java @Required(message="The first password is required") should not be set directly in the source code but should refer to a message in the message.en and message.fr file.
However, the @required annotation only allow the use of constants (It's not possible to call the Message class). An idea could be to handle the error messages directly in the body of the methods, it is less easier than with annotations but would allow the use of multi-languages
The error messages such a the messages in the app/controllers/inscription.java @Required(message="The first password is required") should not be set directly in the source code but should refer to a message in the message.en and message.fr file.
However, the @required annotation only allow the use of constants (It's not possible to call the Message class). An idea could be to handle the error messages directly in the body of the methods, it is less easier than with annotations but would allow the use of multi-languages