awstats language

Discussion in 'HOWTO-Related Questions' started by hrnsky, Feb 28, 2012.

  1. hrnsky

    hrnsky New Member

    hello, i have a 64 bit debian vps with ispconfig3, by default awstats language its georgian. how can i change this language ?

    in /etc/awstats/awstats.conf i've changed the Lang="auto" to Lang="en", then restart apache but doesnt change.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    I guess the language will be changed the next time AWStats is executed.
     
  3. hrnsky

    hrnsky New Member

    i've manually run the cron script that i created before from here ,its still georgian.
     
    Last edited: Feb 29, 2012
  4. erosbk

    erosbk New Member

    You must change language in ispconfig file:
    /usr/local/ispconfig/server/cron_daily.php

    Aprox line 200, search for this line:

    $command = "$awstats_buildstaticpages_pl -month='$awmonth' -year='$awyear' -update -config='$domain' -lang=es -dir='$statsdir' -awstatsprog='$awstat..............

    replace -lang=en for the one you want. This night your stats will appear in your selected language.
     
  5. 8omas

    8omas New Member HowtoForge Supporter

    Last edited: Feb 29, 2012
  6. hrnsky

    hrnsky New Member

    thank you all, i changed the two files, it works.
     
  7. Appie Thrasher

    Appie Thrasher Member HowtoForge Supporter

    I was wondering if I do this, it will chance all my stats to the language I enter in this line of code I think.
    I have some sites with different language set, so can this be done per site also?

    tia

    Appie
     
  8. Lancelot28

    Lancelot28 New Member

    [​IMG]I guess the language will be changed the next time AWStats is executed.
     

Share This Page