VPS
Main PagecPanel and DirectAdmin LicensingServer Management PlansVirtual Private ServersDedicated Servers
Control Panel Licensing
ServerTune ResellersResellersSpecial PromotionsServerTune SpecialsHomeAbout ServerTuneContact usTechnical SupportKB
ServerTune Main Page
Space
Space
Our most popular products:

SPECIAL PROMOTION: cPanel License $36 /month. more info

Issues, Tips, and Solutions

Protect your server with Mod Security rules written specifically for your system. more info ...

Space
Search:    Advanced search
Browse by category:
Webalizer stats is not in English
Printer Friendly
email to a friend
Add comment Add comment
Views: 262
Votes: 0
Comments: 0
Posted: 01 Dec, 2007
by: Support T.
* * * * *
Updated: 02 Dec, 2007
by: Support T.

This solution was posted in the cPanel forums at: http://forums.cpanel.net/showthread.php?t=9713. In addition, this article is a modified version of http://www.andrefaca.com/2007/10/06/webalizer-showing-another-language-instead-of-english-heres-why/

Webalizer is compiled with cPanel and sometimes, non-native english speakers like me forget about this and will use a non-english user to run Webalizer for the first time. Webalizer will be compiled with the language that the user has set to be the default. It can be Spanish, Portuguese even Russian.

To make English the default language for Webalizer, do the following:
  1. Backup your original webalizer binary and language files by running the following commands on a root shell:
    • mv /usr/local/cpanel/3rdparty/bin/webalizer /usr/local/cpanel/3rdparty/bin/webalizer.backup
    • mv /usr/local/cpanel/3rdparty/bin/english/webalizer /usr/local/cpanel/3rdparty/bin/english/webalizer.backup
  2. Get the english binary and language files:
    • cd /usr/local/cpanel/3rdparty/bin/
    • wget http://www.andrefaca.com/non-deletable-files/andrefaca.com/files/webalizer-binary.zip
    • unzip webalizer-binary.zip
    • chmod 0755 webalizer
    • cd /usr/local/cpanel/3rdparty/bin/english
    • wget http://www.andrefaca.com/non-deletable-files/andrefaca.com/files/webalizer-english.zip
    • unzip webalizer-english.zip
    • chmod 0755 webalizer
  3. Now, run webalizer:
    • /scripts/runlogsnow

Note:
You should allow the runlogsnow script a few hours to run, depending on how many domains you have. If you want to just test it out on an account, you can instead use the command:

  • /scripts/runweblogs USERNAME

Webalizer is now in english!

Other articles in this Category
document DOWNLOADS
document Documentation & HowTo
document FAQ and Bugzilla
document My hosting packages are not showing in the WHM
document How can I re-activate my WHM/cPanel license?
document I need to run one more backup session on my WHM/cPanel; How?
document Can't connect to local MySQL server through socket '/tmp/mysql.sock
document Is there a difference between the cPanel themes: x, x2 and x3?
document cPsrvd won't start, how can I fix it?
document How can I un-install or remove a Perl Module?
document (internal warning)
document What are the local paths to log files?
document Removing and/or re-installing the cPanel/WHM
document HowTo :: upgrade Perl to v5.8.8
document HowTo: set up the cPanel/WHM to use /home and /home2 partitions?
document HowTo: get rid of the pop-up login screen
document HowTo: reset bandwidth for a specific user
document rsync: failed to connect to rsync.cpanel.net: Connection refused (111)
document Your operating system's rpm update method (yum) was not able to locate the glibc package
document Can I remove the /home/Virtfs directory?
document sshd has failed, please contact the sysadmin.
document HowTo :: restore cPanel powered server from an old to a new HD
document How can I disable Mod Security for a specific domain while keeping the Mod Security for the rest of domains enabled?
document HowTo :: install a Perl Module
document cPanel cpsrvd is down
document Where to buy or lease a License?
document Where to get technical support
document HowTo :: make scripts available to all clients on your server
document Error: Missing language key "BUAliasFilterTitle"
document HowTo :: install ASP
document HowTo :: clear a full partition?
document HowTo :: remove Tomcat
document Sorry modified cPanel addons are not allowed, contact your server admin for more info.
document Sorry, the nameserver ip 12.34.56.78 cannot be removed since it is still registered with an ICANN register.
document WHM :: Access Denied



RSS