Hi Julien,
this is exactly what I was searching for, however I want to use it from a Java play application instead from a Scala one - I seem to have problems to properly call the plugin - I tried it like this:
public static Result jsMessages() { return ok(play.libs.Json.toJson(JsMessages.apply("bla", ... , lang()))); }however at the postion of the
... an object of type
play.api.Application is expected - do you have any idea on how to get this in a Java-based controller? I can see that the play.Application object wraps it and this is available within a the Global class extending GlobalSettings, but that does not seem to help.
Regards,
Joscha