Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • Adriano Teixeira Friend
    #138928

    Where to change this date, this must be put in English and in Portuguese

    suli3 Friend
    #295066

    In the template settings under Date format

    jsliao Friend
    #295090

    not completely sure what you need here but here’s my guess:

    look for folders under language
    there should be one for english like en-GB
    and one for portugese pt-PT (? not completely sure)

    under each folder, there should be something like en-GB.ini and pt-PT.ini respectively

    if there is none such folders/files, you probably did not install the languages correctly. if yes, and you need to change the dates, eg months. look under the .ini files mentioned above and changes the words/spelling accordingly.

    Adriano Teixeira Friend
    #295254

    Good afternoon

    Already moved the files en-GB.ini and en-PT.ini, and all of language, but this in no will he may direct in the template? Or some other file. Php?

    jsliao Friend
    #295338

    i don’t really get what you mean

    we2solutions Friend
    #297140

    <em>@adrigt 116590 wrote:</em><blockquote>Where to change this date, this must be put in English and in Portuguese

    </blockquote>

    Hi adrigt,

    i fond a tip published by jbrett in this forum.it will help you.this is for ja opal but will be same

    http://www.joomlart.com/forums/topic/changing-date-format/

    thanks.

    dorkyme Friend
    #297216

    Problem solved. It is not the same as for ja opal. Go to index.php in the ja_cooper map and search for date.
    Look for: echo “<span>”.date (‘l’).”</span>”;
    echo ” <div>”.date (‘j’).”/”.date (‘n’).”-“.date (‘Y’).”</div>”;

    Here you can change it.

    Adriano Teixeira Friend
    #300972

    Quero Saber na verdade onde altero a data de Ingles para português? Não quero mudar a ordenação dos dados, mas a linguagem.

    Já que não consigo traduzir a data para portugues vou ter que exclui-la, então se algum puder me ajudar a traduzir agradeço caso contrário me ajudem a tirar esta data do website

    I actually know where the date change from English to Portuguese? I do not want to change the ordering of data, but the language.

    Since I can not translate the Portuguese to date I have to delete it, then if any can help me to translate thank me otherwise help out this time of the website

    hultman Friend
    #303798

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

    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.

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

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

    /Steve

    danielcuiaba Friend
    #321351

    Alguém conseguiu resolver? Obrigado.

    danielcuiaba Friend
    #321352

    Consegui…

    No JA TELINE III, postar no

    templates>telineiii>layout>block>header.php

    Substituir esta CLASS

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

    POR ESTA:

    <p class=”ja-day”>
    <?php
    setlocale(LC_TIME, “pt_BR”);
    echo “<span>”.strftime (‘%A’).”</span>”;
    echo ” <span>”.strftime (‘%d.’).strftime (‘%b’).” “.strftime (‘%Y’).strftime (‘ ‘).”</span>”;
    ?>
    </p>

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

This topic contains 11 replies, has 7 voices, and was last updated by  danielcuiaba 14 years, 6 months ago.

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