Support » Fixing WordPress » converted site to Italian, but blog’s date stays in English.

  • on, I’m using revolution news 2.1 theme (from on WP 2.5.1. I installed the Italian .mo WPLANG file and converted the site to Italian. All works except the date on the top-right side of the blog, which stays in English (and with PST time zone, even though I set the wp preferences to UTC +1 (Rome, Italy time zone). I have the following javascript controlling that date.

    <script type="text/javascript" src="">
    1var mydate=new Date()
    2var year=mydate.getYear()
    3if (year < 1000)
    5var day=mydate.getDay()
    6var month=mydate.getMonth()
    7var daym=mydate.getDate()
    8if (daym<10)
    10var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
    11var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
    12document.write("<p>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</p>")

    Do I have to go in and manually change those days and months from English to Italian? Or do something else? on the theme’s forum page, they told me that the date should have changed to Italian when settin the WPlang file, but it didn’t, and they are at a loss of ideas.
    thank you.

  • The topic ‘converted site to Italian, but blog’s date stays in English.’ is closed to new replies.