@@ -414,11 +414,28 @@ Example for FreeBSD (``envvars`` is in ``/usr/local/sbin/``)::
414414 export LD_PRELOAD
415415
416416Next, you have to add Roundup trackers configuration to apache config.
417+ Roundup apache interface uses two options specified with ``PythonOption``
418+ directives:
419+
420+ TrackerHome:
421+ defines the tracker home directory - the directory that was specified
422+ when you did ``roundup-admin init``. This option is required.
423+
424+ TrackerLaguage:
425+ defines web user interface language. mod_python applications do not
426+ receive OS environment variables in the same way as command-line
427+ programs, so the language cannot be selected by setting commonly
428+ used variables like ``LANG`` or ``LC_ALL``. ``TrackerLanguage``
429+ value has the same syntax as values of these environment variables.
430+ This option may be omitted.
431+
417432In the following example we have two trackers set up in
418433``/var/db/roundup/support`` and ``var/db/roundup/devel`` and accessed
419434as ``https://my.host/roundup/support/`` and ``https://my.host/roundup/devel/``
420435respectively. Having them share same parent directory allows us to
421- reduce the number of configuration directives.
436+ reduce the number of configuration directives. Support tracker has
437+ russian user interface. The other tracker (devel) has english user
438+ interface (default).
422439
423440Static files from ``html`` directory are served by apache itself - this
424441is quickier and generally more robust than doing that from python.
@@ -451,11 +468,12 @@ Example mod_python configuration::
451468 #PythonDebug On
452469 </Directory>
453470 # roundup tracker homes
454- <Directory /var/db/roundup/devel>
455- PythonOption TrackerHome /var/db/roundup/devel
456- </Directory>
457471 <Directory /var/db/roundup/support>
458472 PythonOption TrackerHome /var/db/roundup/support
473+ PythonOption TrackerLanguage ru
474+ </Directory>
475+ <Directory /var/db/roundup/devel>
476+ PythonOption TrackerHome /var/db/roundup/devel
459477 </Directory>
460478
461479
0 commit comments