-
AuthorPosts
-
djdlife Friend
djdlife
- Join date:
- November 2014
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
February 17, 2015 at 11:40 pm #203890Hello
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
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 18, 2015 at 8:28 am #559861This 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
; MonthsJANUARY_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
djdlife
- Join date:
- November 2014
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
February 19, 2015 at 11:07 pm #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
; MonthsJANUARY_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
kstockl
- Join date:
- May 2008
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
February 20, 2015 at 1:00 am #560064Hi @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:
3 users say Thank You to kstockl for this useful post
taigun Friend
taigun
- Join date:
- April 2014
- Posts:
- 5
- Downloads:
- 6
- Uploads:
- 5
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 4, 2015 at 4:47 pm #5616151 user says Thank You to taigun for this useful post
bionet Friend
bionet
- Join date:
- August 2012
- Posts:
- 28
- Downloads:
- 84
- Uploads:
- 0
- Thanks:
- 51
- Thanked:
- 12 times in 4 posts
taigun Friend
taigun
- Join date:
- April 2014
- Posts:
- 5
- Downloads:
- 6
- Uploads:
- 5
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 6, 2015 at 5:06 pm #561937<em>@bionet 461939 wrote:</em><blockquote>I agree, with ru_RU is problem in date.</blockquote>
Bionet, в чем проблема? В кодировке? В .ini?
bionet Friend
bionet
- Join date:
- August 2012
- Posts:
- 28
- Downloads:
- 84
- Uploads:
- 0
- Thanks:
- 51
- Thanked:
- 12 times in 4 posts
taigun Friend
taigun
- Join date:
- April 2014
- Posts:
- 5
- Downloads:
- 6
- Uploads:
- 5
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 6, 2015 at 6:56 pm #561947Спасибо! Все работает!
Aratype Friend
Aratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
May 14, 2015 at 8:09 pm #570588The 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
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 15, 2015 at 3:34 am #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
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 15, 2015 at 3:34 am #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;
} -
AuthorPosts
This topic contains 12 replies, has 6 voices, and was last updated by Ninja Lead 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum