- Posts: 9
- Thank you received: 0
Multi-language for Hot Scroll
-
diegoarpo
Inactive member -
Topic Author
- New Member
-
Less
More
12 years 11 months ago #23557
by diegoarpo
Multi-language for Hot Scroll was created by diegoarpo
Hi,
I'm setting up a site in spanish and need to change the "Read More" that goes into the Hot Scroller for the Spanish version (Ver mas)... however it seems that this value is hard coded. Can anybody point out the right file to modify?
Thanks!
I'm setting up a site in spanish and need to change the "Read More" that goes into the Hot Scroller for the Spanish version (Ver mas)... however it seems that this value is hard coded. Can anybody point out the right file to modify?
Thanks!
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 11 months ago - 12 years 11 months ago #23565
by ivan.milic
Replied by ivan.milic on topic Multi-language for Hot Scroll
open :
modules\mod_hot_scroller\mod_hot_scroller.php
near bottom you will see:
so eater change text in JText::sprintf('Read more...') or provide translation for Read more... in any language .ini file:
Read more...="your translation"
modules\mod_hot_scroller\mod_hot_scroller.php
near bottom you will see:
Code:
// Item introtext
if ($display != 0 || $more) {
if ($display != 0) {
$html .= '<div>'.$row->text;
}
if ($more) {
$html .= ' <a class="readon" href="'.$link.'">'.JText::sprintf('Read more...').'</a>';
}
if ($display != 0) {
$html .= '</div>';
}
}
so eater change text in JText::sprintf('Read more...') or provide translation for Read more... in any language .ini file:
Read more...="your translation"
Last edit: 12 years 11 months ago by ivan.milic.
Please Log in to join the conversation.
Time to create page: 0.272 seconds