EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01325
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: upgrade to 3.3.10 broke set_language
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: upgrade to 3.3.10 broke set_language
- From: Thomas Haines <HainesT@cardiff.ac.uk>
- Date: Wed, 21 Nov 2012 12:20:46 +0000
Hello there,
I am having similar problems with our repository - we are looking into a welsh translation option and adding that to our existing setup.
I am also getting the
" Error. $screen->render should be sub-classed for EPrints::Plugin::Screen::SetLang=HASH(0xbba040cc). "
As we have done a fair amount of customization to our templates, can anyone please clarify what exactly has changed so that I can integrate this?
is the url for calling set_lang still the same? e.g.
http://<repository>/cgi/set_lang?lang=en&referrer=http://<repository>
thanks,
Tom Haines
Electronic Information Resources Developer
Library Systems Team
INSRV
Cardiff University
hainest@cf.ac.uk
x70435
Tom Haines
Electronic Information Resources Developer
Library Systems Team
INSRV
Cardiff University
hainest@cf.ac.uk
x70435
-----eprints-tech-bounces@ecs.soton.ac.uk wrote: -----
To: eprints-tech@ecs.soton.ac.uk
From: shahab bohlooli
Sent by: eprints-tech-bounces@ecs.soton.ac.uk
Date: 07/09/2012 14:06
Subject: [EP-tech] Re: upgrade to 3.3.10 broke set_language
Dear Radoslaw Moszczynski;
The wiki which you are referring is old. so when upgrading from older versions of Eprints (ex 3.2.X to 3.3.X) you should update default template of your repository to reflect the changes which was done to language plugin. The proper code resides in lib\defaultcfg\lang\en\templates\ directory of Eprints installation folder
Hope this could help.
Bohlooli,
From: shahab bohlooli
Sent by: eprints-tech-bounces@ecs.soton.ac.uk
Date: 07/09/2012 14:06
Subject: [EP-tech] Re: upgrade to 3.3.10 broke set_language
Dear Radoslaw Moszczynski;
The wiki which you are referring is old. so when upgrading from older versions of Eprints (ex 3.2.X to 3.3.X) you should update default template of your repository to reflect the changes which was done to language plugin. The proper code resides in lib\defaultcfg\lang\en\templates\ directory of Eprints installation folder
Hope this could help.
Bohlooli,
On Sun, Aug 19, 2012 at 7:39 PM, Radoslaw Moszczynski <r.moszczynski@uw.edu.pl> wrote:
Hi,
After a recent upgrade to Eprints 3.3.10, the set_language script used to change our
site's language stopped working. When invoked via a URL similar to this one:
http://<library>/cgi/set_lang?langid=<language ID>
it throws the following error:
Error. $screen->render should be sub-classed for EPrints::Plugin::Screen::SetLang=HASH(0xbba040cc).
(The hex value in parentheses is variable).
The script was set up according to the instructions here:
http://wiki.eprints.org/w/Translation. We are currently on Ubuntu 12.04,
Apache 2.2.22, and Perl 5.14.2.
Any help with debugging this issue will be very appreciated. I'll be
happy to provide more information about our setup if needed.
Best regards-
-Radoslaw Moszczynski
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
- References:
- [EP-tech] upgrade to 3.3.10 broke set_language
- From: Radoslaw Moszczynski <r.moszczynski@uw.edu.pl>
- [EP-tech] Re: upgrade to 3.3.10 broke set_language
- From: shahab bohlooli <shahab.bohlooli@gmail.com>
- [EP-tech] upgrade to 3.3.10 broke set_language
- Prev by Date: [EP-tech] Re: Browse views - sub pages with one item
- Next by Date: [EP-tech] Re: Browse views - sub pages with one item
- Previous by thread: [EP-tech] Re: upgrade to 3.3.10 broke set_language
- Next by thread: [EP-tech] Re: Deployment on two different hosts (http, https)
- Index(es):