Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • antyca Friend
    #128433

    I need translate the date

    Thank you

    PGLion Friend
    #248608

    That looks like Teline I, please check that forum.

    VisiGod Friend
    #248622

    The issue is exactly the same in both versions.

    felsimedia Friend
    #248654

    <div class=”ja-day”>
    <?php
    $day = date(“l”);
    $daynum = date(“j”);
    $month = date(“M”);

    switch($day)
    {
    case “Monday”: $day = “Lunedi”; break;
    case “Tuesday”: $day = “Martedi”; break;
    case “Wednesday”: $day = “Mercoledi”; break;
    case “Thursday”: $day = “Giovedi”; break;
    case “Friday”: $day = “Venerdi”; break;
    case “Saturday”: $day = “Sabato”; break;
    case “Sunday”: $day = “Domenica”; break;
    default: $day = “Ignoto”; break;
    }

    switch($month)
    {
    case “January”: $month = “Gennaio”; break;
    case “February”: $month = “Febbraio”; break;
    case “March”: $month = “Marzo”; break;
    case “April”: $month = “Aprile”; break;
    case “May”: $month = “Maggio”; break;
    case “June”: $month = “Giugno”; break;
    case “July”: $month = “Luglio”; break;
    case “August”: $month = “Agosto”; break;
    case “September”: $month = “Settembre”; break;
    case “October”: $month = “Ottobre”; break;
    case “November”: $month = “Novembre”; break;
    case “December”: $month = “Dicembre”; break;
    default: $month = “Ignoto”; break;
    }
    echo “<span>”.$day.”</span>”;
    echo ” <div>”.$daynum.” “.$month.”</div>”; ?>
    </div>

    felsimedia Friend
    #248655

    div ja-day can be found in index.php
    mine is translated in italian
    goodluck

    VisiGod Friend
    #248661

    @felsimedia

    This is not a solution for multilanguage sites.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 4 voices, and was last updated by  VisiGod 16 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum