Page History

Turn Off History

Localization of CVSTrac

All the text generated by CVSTrac is American English. But dates can be displayed in the local language and format. To show dates in the local language, do this:

       #!/bin/bash
       LANG=uk_UA.KOI8-U /usr/local/bin/cvstrac $*

You can set LANG environment variable in xinet.d configuration (see "man xinetd.conf" for details):

env LANG=uk_UA.KOI8-U

or in .htaccess (in case of CGI script):

  <IfModule mod_env.c>
  SetEnv LANG uk_UA.KOI8-U
  </IfModule>

If you want to run a localized CVSTrac in chroot environment (such as described in ChrootJailForCvstrac), use the following command to find all files required by the cvstrac binary.

   strace -o logfile -e trace=file cvstrac ...

Then "logfile" will list file operations that cvstrac tried, whether they succeeded or not.

See also CvsTracLocalization

Attachments: