EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05803
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] render a field value in other than current language
- To: "EPrints.org Technical List" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] render a field value in other than current language
- From: Yuri <yurj@alfa.it>
- Date: Mon, 4 Jul 2016 16:13:09 +0200
Hi!I'm sending an email from Eprints (workflow step). The mail is multilang (italian and english), so I would like to reuse existing render_value/citation (document citation, compound fields like names) but they are displayed in the current language. Is it possible to pass an option to render_value/citation in eprints to have the field rendered in a different language?
For example, something like: my $a_field_it = $eprint->render_value("a_field", langid="it"); my $a_field_en = $eprint->render_value("a_field", langid="en"); where a_field is a compound and: $doctd->appendChild( $doc->render_citation_link(langid="it") ); for a document citation. Thanks for any help/hint!
- Prev by Date: Re: [EP-tech] epc and citation templates
- Next by Date: Re: [EP-tech] render a field value in other than current language
- Previous by thread: [EP-tech] Google Scholar
- Next by thread: Re: [EP-tech] render a field value in other than current language
- Index(es):