(dv):Change AWStats default language
- This page was last modified on February 21, 2011, at 11:55.
From (mt) Community Wiki
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 example.com with your domain name):
- /usr/local/psa/etc/awstats/awstats.example.com-http.conf
- /usr/local/psa/etc/awstats/awstats.<">example.com-https.conf
# Possible value: # Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan= ca], # Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Croatian=hr, 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=ko, # 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.
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.