Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Factory for creating i18n messages.

src/c/o/collective.local.sentmail-1.0.1/src/collective/local/sentmail/setuphandlers.py   collective.local.sentmail(Download)
# -*- coding: utf-8 -*-
from plone import api
 
from collective.local.sentmail import _
 
    if "sent-mails" not in portal:
        mails_folder = api.content.create(type="sent_mails_folder",
                                          title=_(u"Sent mails"),
                                          container=portal)