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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 2
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: 874
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: 2
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: 874
Joined: Tue Jan 10, 2006 6:20 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests