Localization Of Cvstrac

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:

  • Create bash script to run CVSTrac in required locale. Example : uk-cvstrac

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

  • Replace "cvstrac" in your scripts by name of your new script (uk-cvstrac, in my case).

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 -e file cvstrac 2>logfile ...