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
If you post a plugin here, please include information on which versions of which applications it is compatible with. Attach a tarball of the plugin (e.g. tar cvzf myPlugin-0.1.tar.gz plugins/generic/myPlugin). Thanks for contributing!

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: 38
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: 8321
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: 38
Joined: Thu May 03, 2012 8:09 pm


Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 3 guests