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

Chapter 18. Internationalizing Packages > Step 1: Internationalizing Python Cod...

Step 1: Internationalizing Python Code

There should be only a few spots where internationalizing is necessary because translatable strings are used for views, which are usually coded in page templates. One of the big exceptions is schemas because in them you always define human-readable titles, descriptions, and default text values for the declared fields.

Zope uses message IDs to mark strings as translatable. A translatable string must always carry a domain, so that you know which translation domain to pick.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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