INSTALL zeta DOM interface

To minimize problems, initial installing of sqwebmail is recommended. Any difficulties, subsequent to a successfull sqwebmail installation, are thus likely to be zeta related. THEN turn yourself to zeta-mailinglist.

If you don't want that, at least for starters, read INSTALL in sources root directory.

REQUIREMENTS

Besides the zeta package and everything stated above in sqwebmail INSTALL instructions, you will need:

CONFIGURING

For zeta, use the same arguments as for sqwebmail installation, with the following exceptions:

LANGUAGES

If a language module is available on the download page, you're lucky. Just cd to ....zeta/html/ , untar the module, and issue the command
install_language YOUR_LANGUAGE

If no module is available, you have to do it the hard way. First cd to zeta installation html subdir:
cd /usr/src/sqwebmail_zeta-[version]/zeta/html
Read README_LANG.txt or README_LANG.html.
Issue the command
make clone from="en-us" to="YOUR_LANGUAGE"

Follow the instructions in README_LANG to create LANGUAGE_PREF, LOCALE, CHARSET and ISPELLDICT files.
To translate the html files, cd now to the po directory, and edit the newly created [LANG].po file. You will need some gettext capability to accomplish the translation. Using eg. emacs, the task is actually quite simple:
cd po; emacs YOUR_LANGUAGE.po
After the translation is done, cd to the new language subdirectory.
cd ../YOUR_LANGUAGE
The help page, containing mostly language specific text, is not included in the *.po file. Edit the help.html file separately.
When done with help page, cd ../ to ...zeta/html directory, and issue the command:
make
umask 022
make install
umask 077
This will install the new language, and reinstall the previous installed languages, specifically the updated locale.js, containing the array of installed language names.

To post fix an installed language translation:

cd [SOURCES]/zeta/html/po
emacs LANG.po
When done with fixes,
cd ../LANG
make; make install

No scripts are available for language removal.


CUSTOMIZE

After extracting the package, the html/en-us directory contains no html files. They will be generated at installation. Afterwards, when reinstalling, any changes to those files will be overwritten. To edit html files, edit templates in templates directory and reinstall.

NOTE: not the whole package has to be reinstalled after a template change. Cd to the html subdirectory and issue the command

make; make install
This will update html templates in all installed languages.

© 2006 zeeNET.fi / Matti Riikari

This page was last modified on