Read More in Multilanguage site

  • brentmin
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago #34382 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.

More
11 years 1 month ago #34400 by ivan.milic
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

Please Log in to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum