How to configure Webalizer to use another language than default English.

Article ID: 3020 
Last Review: Oct,6 2008
Author: APPLIES TO:
  • Plesk for Linux/Unix

Resolution

To enable non default language support in Webalizer, it must be compiled with needed language support. The steps are:

1. download Webalizer tar.gz file, for example:
2. compile webalizer with new language support, for example German:

(Note: 'gcc' and  'make' packages must be installed on the server. If you VE have then the 'devel' template must be installed on the corresponding VE)
# tar zxf webalizer-2.01-10-src.tgz
# cd webalizer-2.01-10
# ./configure --with-language=german --enable-dns --with-db=/usr/include/db4 --with-dblib=/usr/lib/
# make

3. Then original 'webalizer' binary should be replaced with new one:
# cp /usr/bin/webalizer /usr/bin/webalizer_orig
# cp webalizer /usr/bin/webalizer
Next time /usr/local/psa/admin/sbin/statistics utility is executed, statistics will be generated in new language.


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields