How to change webalizer language?

Discussion in 'Installation/Configuration' started by bplgonzo, Nov 28, 2007.

  1. bplgonzo

    bplgonzo New Member

    All webalizer statistics are in German since Debian is installed that way. Can I change webalizer language so it outputs statistic in English? Will it somehow affect ISPConfig?
  2. jbravo

    jbravo Member

    I don't think so. I had to download webalizer source and compile it with language of my choice (polish in my case).

    GreetZ .:JbRaVo:.
  3. bplgonzo

    bplgonzo New Member

    can I recompile webalizer so it doesn't affect ISPConfig in any way? And if 'Yes' then how?
  4. falko

    falko Super Moderator ISPConfig Developer

    Yes, you can. All you have to do is make sure that the new webalizer binary is somewhere in your path (usually /usr/bin).
  5. blocker

    blocker Member

    I had the same problem on a debian etch server which was installed with the default locale de_DE.UTF-8 UTF-8 and webalizer stats were of course in German. Changing the default locale to en_US.UTF-8 and reconfiguring webalizer did change the language of the webalizer stats in English.

    choose the desired locale
    dpkg-reconfigure locales
    reconfiguring webalizer
    dpkg-reconfigure webalizer
    generate the stats
    /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
  6. Davide

    Davide Member

    Debian webalizer uses gettext, so it will generate statistics on the default locale of your system.

    With Debian > 4.0 (etch), you can change your locale with:

    update-locale LANG=es_ES.UTF-8

    You can momentarily force generation in another language simply changing your LANG:

    export LANG=es_ES.UTF-8; webalizer

    More info:

Share This Page