Applications relying on REST endpoints would benefit from translations provided to the nuxeo.war messages files.
Adapting this behaviour to REST applications would require to avoid sending all translation keys to the client, if only a small subset is needed.
This could be done in several steps:
- allow to declare messages to another bundle than the one named "messages"
- still contribute these messages to the main "messages" one
- add a rest endpoint to serve a json map of translation labels, for a given bundle