ZCML File
configure.zcml

<configure
    xmlns="http://namespaces.zope.org/zope"
    >
<utility
    component="zope.i18n.negotiator.negotiator"
    provides="zope.i18n.interfaces.INegotiator"
    />
<adapter
    factory="zope.app.publisher.browser.ModifiableBrowserLanguages"
    provides="zope.i18n.interfaces.IModifiableUserPreferredLanguages"
    for="zope.publisher.interfaces.http.IHTTPRequest"
    />
<class
    class="zope.publisher.http.HTTPRequest"
    >
</class>
<adapter
    factory="zope.publisher.http.HTTPCharsets"
    provides="zope.i18n.interfaces.IUserPreferredCharsets"
    for="zope.publisher.interfaces.http.IHTTPRequest"
    />
<class
    class=".translationdomain.TranslationDomain"
    >
<allow
    interface="zope.i18n.interfaces.ITranslationDomain"
    />
<require
    permission="zope.ManageSite"
    interface="zope.app.container.interfaces.IContainer"
    />
<require
    permission="zope.ManageSite"
    interface=".interfaces.IWriteTranslationDomain"
    />
<require
    permission="zope.ManageSite"
    interface=".interfaces.ISyncTranslationDomain"
    />
</class>
<subscriber
    handler=".translationdomain.setDomainOnActivation"
    for="
       .interfaces.ILocalTranslationDomain
       zope.component.interfaces.IRegistered
       "

    />
<subscriber
    handler=".translationdomain.unsetDomainOnDeactivation"
    for="
       .interfaces.ILocalTranslationDomain
       zope.component.interfaces.IUnregistered
       "

    />
<class
    class=".messagecatalog.MessageCatalog"
    >
<factory
    id="zope.app.MessageCatalog"
    />
<require
    permission="zope.View"
    interface="zope.i18n.interfaces.IMessageCatalog"
    />
<require
    permission="zope.ManageSite"
    attributes="setMessage getMessageIds"
    />
</class>
<adapter
    factory=".filters.GettextExportFilter"
    provides="zope.i18n.interfaces.IMessageExportFilter"
    for=".interfaces.ILocalTranslationDomain"
    />
<adapter
    factory=".filters.GettextImportFilter"
    provides="zope.i18n.interfaces.IMessageImportFilter"
    for=".interfaces.ILocalTranslationDomain"
    />
<include
    package="zope.i18n.locales"
    />
<include
    package=".xmlrpc"
    />
<include
    package=".browser"
    />
</configure>