[How To] Changing language in AWStats

Article ID: 1092 
Last Review: Oct,6 2008
Author: Oleg Beznosov
Last updated by: system APPLIES TO:
  • Plesk for Windows

Resolution

Configuration files for AWStats statistics for Plesk domains are located in

%plesk_dir%Additional\AWStats\wwwroot\cgi-bin\

and are called

awstats.domain_name.conf

where domain_name is the name of a domain located on the server.

If language needs to be changed for a specific domain, the stats.domain_name.conf file needs to be edited:

replace the line

Lang="auto"

with (for example)

Lang="ru"

# Possible value:
# Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan=ca,
# Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Czech=cz, Danish=dk,
# Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi,
# French=fr, Galician=gl, German=de, Greek=gr, Hebrew=he, Hungarian=hu,
# Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=kr,
# Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl,
# Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru,
# Serbian=sr, Slovak=sk, Slovenian=si, Spanish=es, Swedish=se, Turkish=tr,
# Ukrainian=ua, Welsh=cy.
# First available language accepted by browser=auto
# Default: "auto"

To change language for all domains the following file should be edited:

%plesk_dir%\Additional\AWStats\wwwroot\cgi-bin\awstats.model.conf

with the same changes an in the example above.

After the next statistics calculation, statistics language for domains will be applied.
Keywords: change set default language AWStats


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields