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