OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



About Bug 6651- Untranslated Locale keys

Are you a Director, Presenter, Reviewer or Conference Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael

Forum rules
This forum is meant for general questions about the usability of OCS from an everyday user's perspective: conference managers, presenters, and directors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OCS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OCS:

1. Read the documentation. We've written documentation to cover from OCS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OCS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OCS Technical Support subforum; if you have a development question, try the OCS Development subforum.

About Bug 6651- Untranslated Locale keys

Postby evan » Fri Apr 12, 2013 3:55 am

Hello all,

we came across an issue lately - which was resolved -, that is when reading tools are enabled for a conference, then paper view displays locale keys manager.scheduler.building & room untranslated.

I found this bug report http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=6651, but this works only if reading tools are disabled. If this is the case, function view in PaperHandler.inc.php, loads the necessary file with the relative key translations and then calls viewPaper which displays the content correctly.

When RT are enabled though, then view.tpl is called, which in turn makes two individual requests, one that triggers viewPaper (for the main content), and another one viewRST (for the sidebar), and as viewPaper lacks this 'pull request' :

Code: Select all
AppLocale::requireComponents(array(LOCALE_COMPONENT_OCS_MANAGER));

those keys remain untouched.

All i did, was moving the above pull request into viewPaper and everything worked fine.

Hope this is of help
Evan
evan
 
Posts: 9
Joined: Tue May 29, 2012 4:14 am

Return to OCS Conference Support and Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests