• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Internationalizing Packages > Step 3: Internationalizing ZCML

Step 3: Internationalizing ZCML

Internationalizing ZCML is a one-time, one-step process. All you need to do is to add a i18n_domain="messageboard" attribute assignment to your configure tag in the main configure.zcml file. The directive author needs to specify which attribute values should be converted to message IDs, so you should not have to worry about anything else. All this might seem a bit magical, but it is explicit and an incredibly powerful feature of Zope 3's translation system because it minimizes the overhead of internationalizing ZCML code.

Setting the i18n_domain="messageboard" attribute gets rid of all the warnings you have experienced until now when you start up Zope 3.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint