To serve translated versions of the DB2 online documentation on the web, you might prefer to start with a UNIX server, where you can use symbolic links instead of making multiple copies of files and directories.
When you install DB2 on a UNIX server, you can select one or more languages for the "product library", that is, the HTML books. English (en_US) HTML books are always installed with books in any other language, because some books are available only in English.
The installation through the db2setup command creates a doc/html subdirectory that contains a link to each translated book or individual HTML file, or the English one if no translated version is available.
The doc/html subdirectory can be found in the following paths on UNIX systems:
This provides a "well-known" location for the DB2 documentation, regardless of the language chosen.
If you install through the smit or another native operating system installation tool instead of the db2setup command, you must follow the instructions in the Quick Beginnings book for running the db2insthtml command. You must run this command for each language in which you installed DB2 documentation.
For example, if you used smit on AIX to install English, German, and French documentation, you would run these commands afterward:
cd /usr/lpp/db2_06_01/doc db2insthtml en_US db2insthtml de_DE db2insthtml fr_FR
Specifying the fr_FR locale last means that the links in /usr/lpp/db2_06_01/doc/html would point to the French versions of files that are translated into French, and English files for everything else.