-
AuthorPosts
-
Adriano Teixeira Friend
Adriano Teixeira
- Join date:
- September 2014
- Posts:
- 13
- Downloads:
- 4
- Uploads:
- 1
- Thanked:
- 1 times in 1 posts
suli3 Friendsuli3
- Join date:
- February 2007
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 1 times in 1 posts
March 9, 2009 at 10:14 pm #295066In the template settings under Date format
jsliao Friendjsliao
- Join date:
- April 2008
- Posts:
- 817
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 25
- Thanked:
- 236 times in 210 posts
March 10, 2009 at 2:18 am #295090not 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.
1 user says Thank You to jsliao for this useful post
Adriano Teixeira FriendAdriano Teixeira
- Join date:
- September 2014
- Posts:
- 13
- Downloads:
- 4
- Uploads:
- 1
- Thanked:
- 1 times in 1 posts
March 10, 2009 at 4:44 pm #295254Good 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 Friendjsliao
- Join date:
- April 2008
- Posts:
- 817
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 25
- Thanked:
- 236 times in 210 posts
March 11, 2009 at 2:33 am #295338i don’t really get what you mean
we2solutions Friendwe2solutions
- Join date:
- September 2014
- Posts:
- 526
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 136
- Thanked:
- 100 times in 1 posts
March 21, 2009 at 11:02 am #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.
March 21, 2009 at 10:01 pm #297216Problem 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 FriendAdriano Teixeira
- Join date:
- September 2014
- Posts:
- 13
- Downloads:
- 4
- Uploads:
- 1
- Thanked:
- 1 times in 1 posts
April 11, 2009 at 6:30 pm #300972Quero 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 Friendhultman
- Join date:
- September 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
May 6, 2009 at 1:22 pm #303798To 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
October 23, 2009 at 12:28 pm #321351Alguém conseguiu resolver? Obrigado.
October 23, 2009 at 12:48 pm #321352Consegui…
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> -
AuthorPosts
This topic contains 11 replies, has 7 voices, and was last updated by danielcuiaba 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum