-
Type: New Feature
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Postponed
-
Component/s: Seam / JSF UI, Translations, Web API (REST or WS*), Web Common
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
- add javascript helpers to perform parameters replacement on these labels