In the project , we're using Spring's HttpInvoker for the remote calls. The language of the client can be switched as the user wants, it's not stored in the DB.
To know the language at the server means that the language should be added to each call.
For now , in this client, we validate twice, once before the call (thus in the client locale) and on the server before saving.
It's a solution for this project.
Apparently there's no other way to solve it then by the messageinterpolator. I hope future releases bring more possibilities (and a way to translate the fieldname).
thanks for the reactions.
Bart
|