<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
           xmlns:grok="http://namespaces.zope.org/grok"
           xmlns:i18n="http://namespaces.zope.org/i18n"
           i18n_domain="euphorie">

  <include package="z3c.appconfig" file="meta.zcml"/>
  <include package="plone.app.imagecropping" />
  <include package="plonetheme.nuplone" />
  <include package="euphorie.content" />
  <include package="euphorie.client" />
  <include package=".browser" />
  <include package=".tiles" />
  <include package=".upgrade" />

  <appconfig file="config.ini" />

  <i18n:registerTranslations directory="locales"/>

  <utility
       factory=".products.HideEuphorieProducts"
       name="euphorie.deployment"
       />

    <!-- Transform order 8870 - apply theme transform -->
    <adapter
        name="euphorie.transform"
        factory=".transform.EuphorieTransform"
        />

  <grok:grok package=".browser" />
  <grok:grok package=".tiles" />

  <genericsetup:registerProfile
       name="default"
       title="Euphorie website"
       directory="profiles/default"
       description="Setup a standard Euphorie website"
       for="Products.CMFPlone.interfaces.IPloneSiteRoot"
       provides="Products.GenericSetup.interfaces.EXTENSION"
       post_handler=".setuphandlers.setupVarious"
       />

  <include package="euphorie.upgrade.deployment" />

</configure>
