Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • djdlife Friend
    #203890

    Hello

    How i can change the Day and the Month in German? Where i can find this file or is this in the datebase?

    Greetings,

    Daniel

    Ninja Lead Moderator
    #559861

    This way will help you to change format Day and Month on your site to German language

    Open teline_v/language/en-GB/en-GB.ini file, find and see them


    ; Months

    JANUARY_SHORT="Jan"
    JANUARY="January"
    FEBRUARY_SHORT="Feb"
    FEBRUARY="February"
    MARCH_SHORT="Mar"
    MARCH="March"
    APRIL_SHORT="Apr"
    APRIL="April"
    MAY_SHORT="May"
    MAY="May"
    JUNE_SHORT="Jun"
    JUNE="June"
    JULY_SHORT="Jul"
    JULY="July"
    AUGUST_SHORT="Aug"
    AUGUST="August"
    SEPTEMBER_SHORT="Sep"
    SEPTEMBER="September"
    OCTOBER_SHORT="Oct"
    OCTOBER="October"
    NOVEMBER_SHORT="Nov"
    NOVEMBER="November"
    DECEMBER_SHORT="Dec"
    DECEMBER="December"

    ;Days of the Week
    SAT="Sat"
    SATURDAY="Saturday"
    SUN="Sun"
    SUNDAY="Sunday"
    MON="Mon"
    MONDAY="Monday"
    TUE="Tue"
    TUESDAY="Tuesday"
    WED="Wed"
    WEDNESDAY="Wednesday"
    THU="Thu"
    THURSDAY="Thursday"
    FRI="Fri"
    FRIDAY="Friday"

    djdlife Friend
    #560057

    <em>@Ninja Lead 459183 wrote:</em><blockquote>This way will help you to change format Day and Month on your site to German language

    Open teline_v/language/en-GB/en-GB.ini file, find and see them


    ; Months

    JANUARY_SHORT="Jan"
    JANUARY="January"
    FEBRUARY_SHORT="Feb"
    FEBRUARY="February"
    MARCH_SHORT="Mar"
    MARCH="March"
    APRIL_SHORT="Apr"
    APRIL="April"
    MAY_SHORT="May"
    MAY="May"
    JUNE_SHORT="Jun"
    JUNE="June"
    JULY_SHORT="Jul"
    JULY="July"
    AUGUST_SHORT="Aug"
    AUGUST="August"
    SEPTEMBER_SHORT="Sep"
    SEPTEMBER="September"
    OCTOBER_SHORT="Oct"
    OCTOBER="October"
    NOVEMBER_SHORT="Nov"
    NOVEMBER="November"
    DECEMBER_SHORT="Dec"
    DECEMBER="December"

    ;Days of the Week
    SAT="Sat"
    SATURDAY="Saturday"
    SUN="Sun"
    SUNDAY="Sunday"
    MON="Mon"
    MONDAY="Monday"
    TUE="Tue"
    TUESDAY="Tuesday"
    WED="Wed"
    WEDNESDAY="Wednesday"
    THU="Thu"
    THURSDAY="Thursday"
    FRI="Fri"
    FRIDAY="Friday"

    </blockquote>

    Doesn’t work by me, do you know why?

    kstockl Friend
    #560064

    Hi @djdlife,

    I have changed the german Date as following:

    In: ../templates/ja_teline_v/tpls/blocks search for the file: header.php

    Then search for the following code:

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo date('D') ?></span>, <span class="month"><?php echo date('M') ?></span>
    </div>
    </div>
    </div>

    And replace it with this Code:

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php setlocale(LC_TIME, 'de_DE'); echo strftime('%a'); ?></span>
    <div class="text">
    <span class="day"><?php echo date('d') ?>.
    </span>
    <span class="month">
    <?php setlocale(LC_TIME, 'de_DE'); echo strftime('%b'); ?>
    </span>
    <span class="day"><?php echo date('Y') ?>
    </span>
    </div>
    </div>
    </div>

    Now you should get this Date like in the Image:


    1. datum-neu
    taigun Friend
    #561615

    I did the same, but unfortunately did not get the result

    http://роснародспорт.рф/


    1. 1
    2. 2
    3. 3
    4. 4
    bionet Friend
    #561933

    I agree, with ru_RU is problem in date. Solved : <?php setlocale(LC_TIME, ‘ru_RU.UTF-8’); echo strftime(‘%a’); ?>

    taigun Friend
    #561937

    <em>@bionet 461939 wrote:</em><blockquote>I agree, with ru_RU is problem in date.</blockquote>

    Bionet, в чем проблема? В кодировке? В .ini?

    bionet Friend
    #561939

    setlocale(LC_TIME, ‘ru_RU.UTF-8’)

    taigun Friend
    #561947

    Спасибо! Все работает!

    Aratype Friend
    #570588

    The font in which the day and the month are written is light and in small size.

    Is it possible to customize it to be in bold and in bigger size?

    Ninja Lead Moderator
    #570617

    <em>@aratype 473391 wrote:</em><blockquote>The font in which the day and the month are written is light and in small size.

    Is it possible to customize it to be in bold and in bigger size?</blockquote>

    You can create templates/ja_teline_v/css/custom.css file and add new rule

    .header-right .text {
    font-size: 15px;
    font-weight: bold;
    }

    Ninja Lead Moderator
    #735680

    <em>@aratype 473391 wrote:</em><blockquote>The font in which the day and the month are written is light and in small size.

    Is it possible to customize it to be in bold and in bigger size?</blockquote>

    You can create templates/ja_teline_v/css/custom.css file and add new rule

    .header-right .text {
    font-size: 15px;
    font-weight: bold;
    }

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

This topic contains 12 replies, has 6 voices, and was last updated by  Ninja Lead 8 years, 11 months ago.

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