OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



How to rename the "refbacks"

The Plugin Gallery is a venue for users of PKP software to share their plugins.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

How to rename the "refbacks"

Postby dankomed » Tue Dec 31, 2013 12:15 pm

Hi, I am now using the Refbacks plugin, however when showing the Refbacks I want to have that section named "Cited by", not "Refbacks", in the journal article pages.

Is there a way to edit the Refbacks plugin code to achieve that?

Thanks!
dankomed
 
Posts: 46
Joined: Thu May 03, 2012 8:09 pm

Re: How to rename the "refbacks"

Postby asmecher » Tue Dec 31, 2013 1:45 pm

Hi dankomed,

You can edit the locale keys that come with that plugin; they're in plugins/generic/referral/locale/en_US/locale.xml (for English).

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: How to rename the "refbacks"

Postby dankomed » Sun Jan 05, 2014 6:24 am

Hi asmecher,

Thanks a lot. I was able to edit the file that you suggested and replaced the code:
Code: Select all
<message key="plugins.generic.referral.referrals">Refbacks</message>

with
Code: Select all
<message key="plugins.generic.referral.referrals">Cited by</message>


I also changed the empty message
Code: Select all
<message key="plugins.generic.referral.all.empty">There are currently no refbacks.</message>

with
Code: Select all
<message key="plugins.generic.referral.all.empty">There are currently no citations to this article.</message>


All worked immediately as expected!
dankomed
 
Posts: 46
Joined: Thu May 03, 2012 8:09 pm


Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 0 guests