Viernes, 30 Enero 2015 00:26


Patch to enable translation (1.5 only)

Patch to enable translation (1.5 only)

Postby creator » Fri Sep 30, 2011 1:36 am

I've patched this mod by adding the ability to translate the "read more..." phrase (like using Joomfish).

Edit line 22 of <joomla_dir>/modules/mod_wpposts/tmpl/default.php and replace "Read more..." with $params->get('read_more_text'))

Then edit <joomla_dir>/modules/mod_wpposts/mod_wpposts.xml and add the line

<param name="read_more_text" type="text" default="" label="Read more text" description="Text to display to 'read more'" />

after the "readmore" param.

This way you can use Joomfish to translate the "Read more..." hardcoded sentence.

Maybe you can include this into the next release.

Hope it helps.

Stefano Coletta
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Fri Sep 30, 2011 1:28 am

Re: Patch to enable translation (1.5 only)

Postby chus » Wed Oct 05, 2011 8:17 pm

Thank you,

I will try to include it in the next version update.

Best regards!
User avatar
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Return to WordPress Posts

Who is online

Users browsing this forum: No registered users and 1 guest