zope.i18nmessageid API Reference

zope.i18nmessageid.message

I18n Messages and factories.

class zope.i18nmessageid.message.Message[source]

This is a string used as a message. It has a domain attribute that is its source domain, and a default attribute that is its default text to display when there is no translation. domain may be None meaning there is no translation domain. default may also be None, in which case the message id itself implicitly serves as the default text.

class zope.i18nmessageid.message.MessageFactory(domain)[source]

Factory for creating i18n messages.