vendor/Five/1.2b-r20590

view i18n.zcml @ 0:3673ed425f80

Vendor import of Five 1.2b+ (r20590)
author fguillaume
date Fri, 02 Dec 2005 20:25:42 +0000
parents
children
line source
1 <configure
2 xmlns="http://namespaces.zope.org/zope"
3 xmlns:i18n="http://namespaces.zope.org/i18n"
4 >
6 <utility
7 provides="zope.i18n.interfaces.INegotiator"
8 component="zope.i18n.negotiator.negotiator"
9 />
11 <adapter
12 for="zope.publisher.interfaces.http.IHTTPRequest"
13 provides="zope.i18n.interfaces.IUserPreferredLanguages"
14 factory="zope.publisher.browser.BrowserLanguages"
15 />
17 <adapter
18 for="zope.publisher.interfaces.http.IHTTPRequest"
19 provides="zope.i18n.interfaces.IUserPreferredCharsets"
20 factory="zope.publisher.http.HTTPCharsets"
21 />
23 <configure package="zope.app">
24 <i18n:registerTranslations directory="locales"/>
25 </configure>
27 </configure>