Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • fotoyardim Friend
    #120668

    Hi

    We are trying to use JA Teline template.. And we are trying to translate all data to turkish… But we couldn’t manage to change the Date at the top-right of the page..

    It’s still English date.. We need to show this date as Turkish

    What must we do..? Can you help to solve this? :confused:

    Thanks

    Khanh Le Moderator
    #221572

    The solution for changing the Date is addressed at this thread: http://www.joomlart.com/forums/topic/changing-the-date/. Please take a look and I hope it could help you.

    fotoyardim Friend
    #221597

    It didn’t worked because in my index.php there is no tihs kind of things. :((

    <div class=”ja-day”>
    <?php
    echo “<span>”.date (‘l’).”</span>”;
    echo ” <div>”.date (‘M’).” “.date (‘d’).date (‘S’).”</div>”;
    ?>
    </div>

    Can we find any other solutions?

    kachete Friend
    #221599

    Man the solution by master Khanh Le realy works

    You have to seek in your index.php around lines 211 – 215 (in my case)

    Then seek for your locale and then change the code

    <div class="ja-day">
    <?php
    echo "<span>".date ('l')."</span>";
    echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
    ?>
    </div>

    for your Turkish

    <div class="ja-day">
    <?php
    setlocale(LC_TIME, "tr_TR");
    echo "<span>".strftime ('%A')."</span>";
    echo " <div>".strftime ('%b')." ".strftime ('%d').strftime (' ')."</div>";
    ?>
    </div>

    You can see others locale here

    http://www.unet.univie.ac.at/aix/libs/basetrf2/setlocale.htm

    Seek man and you will find the code, just be patient and scroll the code to the lines 211-215 or around this lines

    hope it helps you

    it works for me 😀

    best regards

    fotoyardim Friend
    #221605

    thanks for the reply but still have the problem 🙁
    we try as mentioned and changed the string tr_TR bur didn’t work…

    any other solutions will be helpfull 🙂

    fotoyardim Friend
    #221606

    😀 😀

    Last we fixed it

    we write tr_TR.ISO8859-9 so It fixed our problem…

    Thanks for your help

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

This topic contains 6 replies, has 3 voices, and was last updated by  fotoyardim 17 years, 5 months ago.

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