-
AuthorPosts
-
April 22, 2015 at 11:27 am #205747
Iwould like to change tha language of the top right calendar and I changed the name of days and months in language/en-GB/en-GB.ini but nothig has happended. What else have I to do? Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 22, 2015 at 5:23 pm #567932If I understand somenthing (I’m not a programmer): I was right changing the file I choose but I don’t understand what does it mean JText::_(date(‘D’));
Please could you explain me briefly?Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 23, 2015 at 3:36 am #567978HI Please apply the work below
Go to /templates/JA Teline / tpls/blocks/header.phpFind this 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 change it into
<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 JText::_((date ('D')))?></span>, <span class="month"><?php echo JText::_((date ('F'))) ?></span>
</div>
</div>
</div>
Now go to /language/en-gb/en-GB.ini
and change the month name For example APRIL to your name
and same with DAY : MON with your word .Hope it helps
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 23, 2015 at 3:36 am #733084HI Please apply the work below
Go to /templates/JA Teline / tpls/blocks/header.phpFind this 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 change it into
<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 JText::_((date ('D')))?></span>, <span class="month"><?php echo JText::_((date ('F'))) ?></span>
</div>
</div>
</div>
Now go to /language/en-gb/en-GB.ini
and change the month name For example APRIL to your name
and same with DAY : MON with your word .Hope it helps
April 23, 2015 at 9:33 am #568025Thanks a lot.
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by robyrom 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum