ZCML File
configure.zcml
[top]
/
zope
/
app
/
i18n
/
browser
/ configure.zcml
<
zope:configure
xmlns
="
http://namespaces.zope.org/browser
"
xmlns:zope
="
http://namespaces.zope.org/zope
"
>
<
pages
class
="
.translate.Translate
"
for
="
zope.i18n.interfaces.ITranslationDomain
"
permission
="
zope.ManageServices
"
>
<
page
name
="
translate.html
"
template
="
translate.pt
"
menu
="
zmi_views
"
title
="
Translate
"
/>
<
page
name
="
translateMessage.html
"
template
="
translatemessage.pt
"
/>
<
page
name
="
editMessages.html
"
attribute
="
editMessages
"
/>
<
page
name
="
deleteMessages.html
"
attribute
="
deleteMessages
"
/>
<
page
name
="
addLanguage.html
"
attribute
="
addLanguage
"
/>
<
page
name
="
changeEditLanguages.html
"
attribute
="
changeEditLanguages
"
/>
<
page
name
="
deleteLanguages.html
"
attribute
="
deleteLanguages
"
/>
<
page
name
="
changeFilter.html
"
attribute
="
changeFilter
"
/>
</
pages
>
<
pages
class
="
.exportimport.ExportImport
"
for
="
zope.i18n.interfaces.ITranslationDomain
"
permission
="
zope.ManageServices
"
>
<
page
name
="
exportImportForm.html
"
template
="
exportimport.pt
"
menu
="
zmi_views
"
title
="
Import/Export
"
/>
<
page
name
="
export.html
"
attribute
="
exportMessages
"
/>
<
page
name
="
import.html
"
attribute
="
importMessages
"
/>
</
pages
>
<
pages
class
="
.synchronize.Synchronize
"
for
="
zope.i18n.interfaces.ITranslationDomain
"
permission
="
zope.ManageServices
"
>
<
page
name
="
synchronizeForm.html
"
template
="
synchronize.pt
"
menu
="
zmi_views
"
title
="
Synchronize
"
/>
<
page
name
="
synchronize.html
"
attribute
="
synchronize
"
/>
<
page
name
="
synchronizeMessages.html
"
attribute
="
synchronizeMessages
"
/>
<
page
name
="
saveSettings.html
"
attribute
="
saveSettings
"
/>
</
pages
>
<
defaultView
name
="
translate.html
"
for
="
zope.i18n.interfaces.ITranslationDomain
"
/>
<
addMenuItem
title
="
Translation Domain
"
description
="
A Persistent Translation Domain
"
permission
="
zope.ManageServices
"
class
="
zope.app.i18n.translationdomain.TranslationDomain
"
/>
<
icon
name
="
zmi_icon
"
for
="
zope.i18n.interfaces.ITranslationDomain
"
file
="
./i18n_domain.gif
"
/>
</
zope:configure
>