- Posts: 2
- Thank you received: 0
Read More in Multilanguage site
12 years 4 weeks ago #34382
by brentmin
Read More in Multilanguage site was created by brentmin
I have used this extension as supplied with the Hot Sportal template on a multi language site. The main installation is the English. Then I copied the module in the module manager for the Afrikaans and then for the German. How can I change the Read more for those two extras languages?
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Offline
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 4 weeks ago #34400
by ivan.milic
Replied by ivan.milic on topic Read More in Multilanguage site
In
modules\mod_hot_joomla_carousel_pro\mod_hot_joomla_carousel_pro.php
you will see:
$output .= '<a class="readon" href="'.$link.$customItemIDHTML.'">'.JText::sprintf('Read more...').'</a>';
change:
JText::sprintf('Read more...')
to:
JText::sprintf('LABEL_READ_MORE')
then in:
language\en-GB\en-GB.mod_hot_joomla_carousel_pro.ini
add at bottom:
LABEL_READ_MORE="Read More..."
copy that file to other languages folders changing its name:
language\xx-XX\xx-XX.mod_hot_joomla_carousel_pro.ini
but with different translations for read more text
modules\mod_hot_joomla_carousel_pro\mod_hot_joomla_carousel_pro.php
you will see:
$output .= '<a class="readon" href="'.$link.$customItemIDHTML.'">'.JText::sprintf('Read more...').'</a>';
change:
JText::sprintf('Read more...')
to:
JText::sprintf('LABEL_READ_MORE')
then in:
language\en-GB\en-GB.mod_hot_joomla_carousel_pro.ini
add at bottom:
LABEL_READ_MORE="Read More..."
copy that file to other languages folders changing its name:
language\xx-XX\xx-XX.mod_hot_joomla_carousel_pro.ini
but with different translations for read more text
Please Log in to join the conversation.
Time to create page: 0.302 seconds