Current

This document is valid for the current version of Plone.

Messages & Translation

by Plone Documentation Team last modified Feb 26, 2011 09:13 PM
Contributors: Mikko Ohtamma, Martin Aspeli, Kamon Ayeva, Israel Saeta Pérez

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.