Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th November 2007, 11:10
bplgonzo bplgonzo is offline
Member
 
Join Date: Jun 2007
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
Default How to change webalizer language?

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?
Reply With Quote
Sponsored Links
  #2  
Old 28th November 2007, 13:58
jbravo jbravo is offline
Member
 
Join Date: Nov 2007
Location: Poland
Posts: 81
Thanks: 12
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by bplgonzo
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?
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:.
Reply With Quote
  #3  
Old 30th November 2007, 18:02
bplgonzo bplgonzo is offline
Member
 
Join Date: Jun 2007
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
Default

can I recompile webalizer so it doesn't affect ISPConfig in any way? And if 'Yes' then how?
Reply With Quote
  #4  
Old 1st December 2007, 13:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Yes, you can. All you have to do is make sure that the new webalizer binary is somewhere in your path (usually /usr/bin).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 26th November 2008, 11:10
blocker blocker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 177
Thanks: 9
Thanked 4 Times in 4 Posts
Default

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
Code:
dpkg-reconfigure locales
reconfiguring webalizer
Code:
dpkg-reconfigure webalizer
generate the stats
Code:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
Reply With Quote
The Following User Says Thank You to blocker For This Useful Post:
falko (27th November 2008)
  #6  
Old 18th November 2010, 21:08
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
 
Default

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:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291368
Reply With Quote
The Following User Says Thank You to Davide For This Useful Post:
falko (19th November 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
change language weblizer mccharlet Installation/Configuration 4 18th November 2010 21:07
Howto: Make Webalizer show full QueryString!! Zoon Tips/Tricks/Mods 1 5th November 2007 02:12
Can't change default language as admin sipsony Installation/Configuration 1 18th July 2007 08:58
Webalizer problem MacPC Server Operation 3 15th May 2007 13:53
Change the default language and theme Felipe Tips/Tricks/Mods 2 13th December 2005 17:11


All times are GMT +2. The time now is 23:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.