Installing OpenPT and OpenPTi18n
If you do not want to use i18n, just ignore all instructions dealing with the OpenPTi18n package and file.
Normal install
- Download and unpack all files except the "quick" one
- Put the
"pax"
and"OpenTAL"
packages in your python path.
You can put them either in ${ZOPE_HOME}/lib/python or in your python installation under site_packages (or, actually, anywhere that is in your python path.)
Both packages have standard distutils "setup.py" files; you can use these, if you wish. - Put the OpenPT and OpenPTi18n packages in your zope's Products directory.
- (i18n) Get and install the PlacelessTranslationService product, or alternatively TranslationService (in this case, instead of step 5 below, follow the instructions in the TranslationService page).
- (i18n) Create a directory under your INSTANCE_HOME
named
i18n
and put your.mo
files there.
If you plan to create them from scratch, please notice that we use a few non-standard metadata headers; for more info see the HOWTO - Restart zope - if possible, in debug mode - and watch its standard output for ugly debugging messages that, I swear, will be moved to zLOG before 1.0 ;-)
Easier "quick" install
This method works only on Unix or systems that support symbolic links.
- Download the "quick" distribution. If you want i18n, download it separately (it's not included in the "quick" file), and one of the two translation service products mentioned above.
- Unpack the "quick" file in your ZOPE_HOME; it expects
to find the
lib
directory - Unpack OpenPTi18n and your translation service in your Products directory
- Proceed to step 5 of the normal installation