EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10354
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Wiki
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] Wiki
- From: Andrew M <eprints-tech@unitedgames.co.uk>
- Date: Tue, 21 Apr 2026 07:22:59 +0100
CAUTION: This e-mail originated outside the University of Southampton. I don't have the expertise to know, so headed to Repository.pm to look at the plain old documentation, and saw get_language, get_lang, get_langid, get_session_language, and best_language .... https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Ftree%2Fmaster%2Fperl_lib%2FEPrints&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C24992c3f865b4a1c9a8f08de9f6e700d%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C639123495153803031%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C40000%7C%7C%7C&sdata=K2cEouJMXerK6Iw79OnXYEA4yHVOHO%2FXwUhCmvIy4Xw%3D&reserved=0 get_lang most simply fetches the lang attribute, however get_session_language is more considerate to what may be the language of the current session, so may be the best substitute to update the wiki with. A quick search of current_lang in the wiki yields pages on EPScript as you say: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2Findex.php%3Fsearch%3Dcurrent_lang%26title%3DSpecial%253ASearch%26go%3DGo&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C24992c3f865b4a1c9a8f08de9f6e700d%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C639123495153837380%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C40000%7C%7C%7C&sdata=aYX1W0ixBmKCnNJYOoIYxMyBiPGGqP%2FvqcnQWiwAYTI%3D&reserved=0 Yours, Andrew. Quoting Robin Sylvestre <robin.sylvestre@polymtl.ca>:
CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Hi! Can someone update the Wiki for Repository? It has $repo->current_language listed but newer versions have $repo->lang instead (don't know when this changed). Wasn't it current_lang at some point? Or is that just in EPScript?? Thanks [cid:image001.png@01DCB873.6B2A0CE0] ROBIN SYLVESTRE Technicien des systèmes informatisés Bibliothèque 514-340-4711 | poste 5973 Polytechnique Montréal 2500, chemin de Polytechnique Montréal, Québec, H3T 1J4
- References:
- [EP-tech] Wiki
- From: Robin Sylvestre <robin.sylvestre@polymtl.ca>
- [EP-tech] Wiki
- Prev by Date: Re: [EP-tech] Add highwire press and prism metatags to eprints 3.4.1
- Next by Date: [EP-tech] Need help in Lookup script
- Previous by thread: [EP-tech] Wiki
- Next by thread: [EP-tech] Remove versions support from EPrints
- Index(es):
