test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • elpuja Friend
    #184211

    The date on the frontpage doesn’t get translated. Although I have a translation es-ES.ini the date continues in English.
    The problem is similar to this thread http://www.joomlart.com/forums/topic/chage-the-front-page-date-brazil-minisite-template/, but the solution doesn’t work for me.

    This is the content of the translation file:

    ;Meses

    JANUARY_SHORT="Ene"
    JANUARY="Enero"
    FEBRUARY_SHORT="Feb"
    FEBRUARY="Febrero"
    MARCH_SHORT="Mar"
    MARCH="Marzo"
    APRIL_SHORT="Abr"
    APRIL="Abril"
    MAY_SHORT="May"
    MAY="Mayo"
    JUNE_SHORT="Jun"
    JUNE="Junio"
    JULY_SHORT="Jul"
    JULY="Julio"
    AUGUST_SHORT="Ago"
    AUGUST="Agosto"
    SEPTEMBER_SHORT="Sep"
    SEPTEMBER="Septiembre"
    OCTOBER_SHORT="Oct"
    OCTOBER="Octubre"
    NOVEMBER_SHORT="Nov"
    NOVEMBER="Noviembre"
    DECEMBER_SHORT="Dic"
    DECEMBER="Diciembre"

    ;Días de la semana
    SAT="Sáb"
    SATURDAY="Sábado"
    SUN="Dom"
    SUNDAY="Domingo"
    MON="Lun"
    MONDAY="Lunes"
    TUE="Mar"
    TUESDAY="Martes"
    WED="Mié"
    WEDNESDAY="Miércoles"
    THU="Jue"
    THURSDAY="Jueves"
    FRI="Vie"
    FRIDAY="Viernes"

    This is is my breadcrums.php:

    <div class="ja-breadcrums">
    <!--strong><?php echo JText::_('You are here')?></strong--> <jdoc:include type="module" name="breadcrumbs" />
    </div>

    <p class="ja-day">
    <?php
    echo '<span class="day">'.JHTML::_('date', 'now', 'l').'</span>'.
    '<span class="date">'.JHTML::_('date', 'now', 'd ').'</span>'.
    '<span class="month">'.JHTML::_('date', 'now', 'F ').'</span>'.
    '<span class="year">'.JHTML::_('date', 'now', 'Y').'</span>';
    ?>
    </p>

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
    </ul>

    I also changed the en-En.ini directly, but it doesn’t work neither.

    elpuja Friend
    #480627

    Ok. Find a solution by myself:
    I changed the language in the backend…

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

This topic contains 2 replies, has 1 voice, and was last updated by  elpuja 11 years, 11 months ago.

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