Patch to enable translation (1.5 only)
2 posts
• Page 1 of 1
Patch to enable translation (1.5 only)
Hello,
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.
Greetings,
Stefano Coletta
http://www.mindcreations.com
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.
Greetings,
Stefano Coletta
http://www.mindcreations.com
- creator
- Fresh Boarder

- Posts: 1
- Joined: Fri Sep 30, 2011 1:28 am
Re: Patch to enable translation (1.5 only)
Thank you,
I will try to include it in the next version update.
Best regards!
I will try to include it in the next version update.
Best regards!
-

chus - Administrator

- Posts: 448
- Joined: Thu Sep 13, 2007 2:21 am
- Location: Costa Rica
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests