View Single Post
  #1  
Old 18th November 2010, 21:16
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 8 Times in 7 Posts
Default Webalizer language in Debian

Hi

I have found a lot of old information about Debian webalizer and stats language, saying the only way to change language is compiling from sources. Even it's an entry on FAQ:

http://www.faqforge.com/linux/contro...-ubuntu-linux/


I have researched a little about it, and found that you don't need to compile webalizer for generating stats on your language

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:

Code:
update-locale LANG=es_ES.UTF-8
You can momentarily force generation in another language simply changing your LANG env var:

Code:
export LANG=es_ES.UTF-8; webalizer -c xxxx
More info:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291368

I'm sure Debian's stock webalizer + ISPConfig2 are generating statistics in spanish on my server, only having spanish as default system's locale.

I'm not sure about ISPConfig3. Will try it this night.

P.S. Please, edit or delete that entry on FAQ, it's guiding users by a hard and no necessary way

Last edited by Davide; 20th November 2010 at 02:05.
Reply With Quote
Sponsored Links