-
AuthorPosts
-
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 10, 2011 at 4:25 am #405299<em>@s_migui 258493 wrote:</em><blockquote>Thats exactly the same problem I have</blockquote>
Hi s_migui,
– You change this code from languageen-GBen-GB.mod_janewspro.ini in the line #147, #50, #52, #73, #116, #115
CHECK_ALL="Check all"
INTRO_ITEMS="Intro Items"
LINK_ITEMS="Link Items"
SHOW_IMAGE="Show Image"
SHOW="Show"
HIDE="Hide"
– You add this code from languageen-GBen-GB.mod_janewspro.ini
SAVE="Save"
CANCEL="Cancela"
1 user says Thank You to khoand for this useful post
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 10, 2011 at 4:30 am #405301<em>@piotras100 258496 wrote:</em><blockquote>In thread: “How to translate “MORE” from JA newspro to spanish?” I have found the answer to Settings (Ustawienia) panel and More 🙂
Now I have to find how to change date on the left top of frontpage from MM DD YYYY to DD MM YYYY and translate: “Last update08:56:01 PM” into Ostatnia aktualizacja: 20:56 ;)</blockquote>
Hi piotras100,
You change this code from templatesja_teline_ivblockstopbar.php
<p class="ja-day clearfix">
<?php
echo "<span class="day">".JText::_(strtoupper(date ('D')))."</span>";
echo "<span class="month">".date ('m')."</span>";
echo "<span class="date">".date ('d')."</span>";
echo "<span class="year">".date ('Y')."</span>";
?>
</p><p class="ja-updatetime"><span><?php echo JText::_('Last update')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>
August 10, 2011 at 7:47 pm #405477Thanks.
Now I have date in d/m/y format. I have also translated “Last update”, but still I have a wrong time format. Instead of 20:56 I have 08:56:01 PM. Is it possible to change time format? I hope so, but I don’t know where 😉
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 12, 2011 at 3:25 pm #405972<em>@piotras100 258787 wrote:</em><blockquote>Thanks.
Now I have date in d/m/y format. I have also translated “Last update”, but still I have a wrong time format. Instead of 20:56 I have 08:56:01 PM. Is it possible to change time format? I hope so, but I don’t know where ;)</blockquote>
You replace this code from /plugins/system/jat3/core/common.php file
return gmdate("h:i:s A", $sec+$tz).' GMT';
with
return gmdate("H:i:s", $sec+$tz).' GMT';
August 15, 2011 at 12:39 am #406250<em>@khoand 259381 wrote:</em><blockquote>You replace this code from /plugins/system/jat3/core/common.php file
return gmdate("h:i:s A", $sec+$tz).' GMT';
with
return gmdate("H:i:s", $sec+$tz).' GMT';
</blockquote>Well… In folder /plugins/system/jat3/ I have no /core/ but I have another /jat3/ and inside I can find /core/common.php file
But in this file there is no string: return gmdate(“h:i:s A”, $sec+$tz).’ GMT’; 🙁
Any ideas?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 16, 2011 at 10:32 am #406509Thanks for your attached file. It is helpful to find down what happened. You find this code in /language/your-language/your-language.ini (example: en-GB.ini for English language)
T3_DATE_FORMAT_LASTUPDATE=
with
T3_DATE_FORMAT_LASTUPDATE=H:i:s
<em>@piotras100 259764 wrote:</em><blockquote>Well… In folder /plugins/system/jat3/ I have no /core/ but I have another /jat3/ and inside I can find /core/common.php fileBut in this file there is no string: return gmdate(“h:i:s A”, $sec+$tz).’ GMT’; 🙁
Any ideas?</blockquote>
August 16, 2011 at 9:09 pm #406597<em>@khoand 260089 wrote:</em><blockquote>Thanks for your attached file. It is helpful to find down what happened. You find this code in /language/your-language/your-language.ini (example: en-GB.ini for English language)
T3_DATE_FORMAT_LASTUPDATE=
with
T3_DATE_FORMAT_LASTUPDATE=H:i:s
</blockquote>I’m afraid there is no “T3_DATE_FORMAT_LASTUPDATE=” in my language ini files. Should I manually add this string?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 18, 2011 at 4:39 am #406821You try replace this code from common.php
return $date->toFormat(JText::_('T3_DATE_FORMAT_LASTUPDATE'), true);
with
return $date->toFormat("%H:%M:%S", true);August 21, 2011 at 6:29 pm #407465<em>@khoand 260490 wrote:</em><blockquote>You try replace this code from common.php
return $date->toFormat(JText::_('T3_DATE_FORMAT_LASTUPDATE'), true);with
return $date->toFormat("%H:%M:%S", true);
</blockquote>OK. I have done some changes to /plugins/system/jat3/jat3/core/common.php Now I have: return $date->toFormat(“%d.%m %H:%M”, true) and It’s working well.
* * *BTW.
It would be great if Joomlart team will provide us (international users) a tool/application for translating strings like: Readmore, Read, Last update etc. placed in templates “own” modules and for changing time format and date format and language in ONE PLACE instead of searching many different files in different subfolders after every module or plugin update.Dear Joomalart, is it possible?
September 20, 2011 at 3:00 pm #413908I Have the same problem
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
September 22, 2011 at 3:03 am #414221What version of joomla do you use? Could you give me a link to your website?
September 22, 2011 at 12:28 pm #414298<em>@khoand 269592 wrote:</em><blockquote>What version of joomla do you use? Could you give me a link to your website?</blockquote>
I’m using thw Joomla 1.6 http://www.bikestyle.com.br I have chamge all things in both english and portuguese language…. but the More:, read More… setings… and the others doesent change…
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
September 23, 2011 at 4:09 am #414400To translate Read more…, you find this code from /language/pt-br/pt-br.mod_janews_featured.ini
READ_MORE="Read more..."
To translate Setting, More:, you find this code from /language/pt-br/pt-br.mod_janewspro.ini
SETTING="Setting"
MORE="More:"
You change bold text.September 23, 2011 at 4:51 am #414407<em>@khoand 269812 wrote:</em><blockquote>To translate Read more…, you find this code from /language/pt-br/pt-br.mod_janews_featured.ini
READ_MORE="Read more..."
To translate Setting, More:, you find this code from /language/pt-br/pt-br.mod_janewspro.ini
SETTING="Setting"
MORE="More:"
You change bold text.</blockquote>Yes, I know that. But for some reason it isn’t working… I have already change both pt-BR and en-GB and nothing is changing
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
September 23, 2011 at 6:43 am #414419You delete all of files of /cache and /t3-assets directory, please
AuthorPostsThis topic contains 33 replies, has 6 voices, and was last updated by khoand 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum