Messages & Translation
JavaScript components should include as few messages as possible. Whenever possible, the messages you display via JavaScript should be drawn from the page.
If that’s not possible, it is your responsibility to assure that the messages you need are translatable.
Our current mechanism for doing that is to include the messages via Products/CMFPlone/browser/jsvariables.py. This will nearly certainly be changed.

Author: