test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • sakari Friend
    #141266

    Hi,

    How do I get the date in German?

    I find nothing!

    Can you help me?

    Thank you very much

    Maria

    hultman Friend
    #304950

    To get locale dayname us strftime instead of date, se below

    Open templates/ja_cooper/index.php. Around row 114 marked BEGIN: HEADER TOOLS you will find

    echo “<span>”.date (‘l’).”</span>”;
    echo ” <div>”.date (‘M’).” “.date (‘d’).date (‘S’).”</div>”;

    CHANGE TO

    echo “<span>”.strftime(‘%A’).”</span>”;
    echo ” <div>”.date (‘Y’).”-“.date (‘m’).”-“.date (‘d’).”</div>”;

    Will print out the name of the day in the locale u use. For different timestamps see http://se.php.net/manual/en/function.date.php or http://se.php.net/strftime

    To Captalize the name of the day insert in template.css at

    .ja-day span, .ja-day div {
    text-transform:capitalize;
    }

    /Steve

    sakari Friend
    #304986

    Many, many thanks!

    :):):)

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

This topic contains 3 replies, has 2 voices, and was last updated by  sakari 15 years, 8 months ago.

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