OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



PDF [Language] in the TOC

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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.

PDF [Language] in the TOC

Postby alanden » Thu Mar 27, 2014 2:46 am

How can I in the TOC omit reference to the language, so that only PDF appears, and not i.e. PDF [English] or PDF [Swedish]?
The homepage of our journal is bilingual, but we publish articles in several languages. It doesn’t look so good when PDF [Swedish] appears in the TOC, whereas the article is in i.e. Norwegian.
Annette
alanden
 
Posts: 4
Joined: Fri Mar 14, 2014 5:21 am

Re: PDF [Language] in the TOC

Postby JasonNugent » Thu Mar 27, 2014 6:33 am

Hi Annette,

You can edit the file in classes/article/ArticleGalley.inc.php and look for the function called getGalleyLabel(). You can comment out the entire if () {..} statement that puts the locale description in parentheses after the galley label.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: PDF [Language] in the TOC

Postby alanden » Thu Mar 27, 2014 7:00 am

Hi Jason,
thank you! This can only be done by the Site Administrator, right?
A
alanden
 
Posts: 4
Joined: Fri Mar 14, 2014 5:21 am

Re: PDF [Language] in the TOC

Postby JasonNugent » Thu Mar 27, 2014 9:50 am

Hi Annette,

Yes, most likely.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest