[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] multilang fields in EPrints

CAUTION: This e-mail originated outside the University of Southampton.
I've been working on recommendations for multilingual support in repositories through a COAR task force, and it's partly in that context that I'm trying to understand where we're at with EPrints when it comes to supporting multiple languages.
Specifically, I was wondering about multilingual metadata fields.
I see that we have some documentation here:
But when I tried to add a multilang field to see how and if that would work, I found that it did, when I used the "multiple" set to 1 (otherwise, there's an error), like this:
    name => 'title_multilang',
    type => 'multilang',
            multiple => 1,
    fields => [
            sub_name => 'text',
            type => 'text',
In the EP3 XML export, that looked something like this:
But I didn't find it in any other export format.
Am I correct in understanding that if I were to add multilingual metadata fields, I would also have to modify all of the export plugins' code, including OAI-PMH, to export the multilingual fields correctly (i.e., along with the language name)?  Has this work been done already?

I also found this thread: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eprints.org%2Feptech%2Fmsg05225.html&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb1c005d962974957800208db476a1873%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638182293373125225%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=uhPvm3FqJc0EsJMd%2FbIsHbNIihQKhf%2FtElRaQaaZRr0%3D&reserved=0
which suggested to me that multilingual fields cause problems when importing matadata. Have those issues been resolved since then (2015)?

Thanks to anyone who has some experience or knowledge of this and other multilingual features in EPrints.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230427/afa3a742/attachment.html