How do I change default language for AWStats?

Languages for AWStats are defined by “Lang” directives in it’s configuration files. New languages need to be set in the main AWStats configuration files.

/etc/awstats/awstats.conf
/etc/awstats/awstats.model.conf

The files which are already configured by Plesk for every domain can be found in the following files (Be sure to replace mt-example.com with your domain name):

/usr/local/psa/etc/awstats/awstats.serverbuddies.com-http.conf
/usr/local/psa/etc/awstats/awstats.serverbuddies.com-https.conf

By default Lang is set to Lang=”auto”, this means it will accept the first available language by the browser. You can change it to any supported value that can be found above the Lang directive in the configuration files.

For example, if you want English you would use the following:

Lang=”en”

When you are finished making any changes be sure to restart awstats to see any changes instantly.

Reference: http://parallels.com

One Response to “How do I change default language for AWStats?”

  1. 2accoutrementson 13 Jan 2022 at 12:42 am

    3adaptor…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.