EPrints Technical Mailing List Archive
Message: #04417
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Finding selected lang from configuration
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Finding selected lang from configuration
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- Date: Wed, 1 Jul 2015 10:30:36 +0100
It should be: $repository->get_lang(), which will return an EPrints::Language object, or $repository->get_langid, which will return the ID of the language. -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 30 Jun 2015, at 10:29, George Mamalakis wrote: > Hi all, > > I am testing the multilang field (with virtual fields for title and > abstract) and I am trying to make my virtual field return a different > title (or abstract) based on what the user's language choice is. How can > I have access to that variable on my perl configuration file? (I've > tested the default language and works as expected, but I don't find it > usable.) > > Thanks all in advance. > > -- > George Mamalakis > > IT and Security Officer, > Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki), > PhD (Aristotle Univ. of Thessaloniki), > MSc (Imperial College of London) > > School of Electrical and Computer Engineering > Aristotle University of Thessaloniki > > phone number : +30 (2310) 994379 > > > *** 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/ > *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] MySQL version
- From: Matthew Brady <Matthew.Brady@usq.edu.au>
- [EP-tech] Re: MySQL version
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: MySQL version
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Finding selected lang from configuration
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] MySQL version
- Prev by Date: [EP-tech] Re: Shelves documentation (in response to Re: Collections package)
- Next by Date: [EP-tech] Re: [Solved] Re: [spam?] Re: How to set a field to be multilang
- Previous by thread: [EP-tech] Finding selected lang from configuration
- Next by thread: [EP-tech] Re: Finding selected lang from configuration
- Index(es):