changeset 2559:6c096b4aea67

added description and example of mod_python interface option TrackerLanguage
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sun, 11 Jul 2004 14:52:37 +0000
parents cf52ad6788c8
children d45f1669599c
files doc/installation.txt
diffstat 1 files changed, 22 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/installation.txt	Sun Jul 11 14:27:48 2004 +0000
+++ b/doc/installation.txt	Sun Jul 11 14:52:37 2004 +0000
@@ -414,11 +414,28 @@
   export LD_PRELOAD
 
 Next, you have to add Roundup trackers configuration to apache config.
+Roundup apache interface uses two options specified with ``PythonOption``
+directives:
+
+  TrackerHome:
+    defines the tracker home directory - the directory that was specified
+    when you did ``roundup-admin init``.  This option is required.
+
+  TrackerLaguage:
+    defines web user interface language.  mod_python applications do not
+    receive OS environment variables in the same way as command-line
+    programs, so the language cannot be selected by setting commonly
+    used variables like ``LANG`` or ``LC_ALL``.  ``TrackerLanguage``
+    value has the same syntax as values of these environment variables.
+    This option may be omitted.
+
 In the following example we have two trackers set up in
 ``/var/db/roundup/support`` and ``var/db/roundup/devel`` and accessed
 as ``https://my.host/roundup/support/`` and ``https://my.host/roundup/devel/``
 respectively.  Having them share same parent directory allows us to
-reduce the number of configuration directives.
+reduce the number of configuration directives.  Support tracker has
+russian user interface.  The other tracker (devel) has english user
+interface (default).
 
 Static files from ``html`` directory are served by apache itself - this
 is quickier and generally more robust than doing that from python.
@@ -451,12 +468,13 @@
       #PythonDebug On
     </Directory>
     # roundup tracker homes
+    <Directory /var/db/roundup/support>
+      PythonOption TrackerHome /var/db/roundup/support
+      PythonOption TrackerLanguage ru
+    </Directory>
     <Directory /var/db/roundup/devel>
       PythonOption TrackerHome /var/db/roundup/devel
     </Directory>
-    <Directory /var/db/roundup/support>
-      PythonOption TrackerHome /var/db/roundup/support
-    </Directory>
 
 
 Configure an Email Interface

Roundup Issue Tracker: http://roundup-tracker.org/