[Archivesspace_Users_Group] Translation Values in Controlled Vocab Lists

Galligan, Patrick PGalligan at rockarch.org
Tue Jan 26 13:50:42 EST 2016

We do the same at the RAC. We add any necessary translations to a plugin.

Patrick Galligan
Rockefeller Archive Center
Assistant Digital Archivist

From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Noah Huffman
Sent: Tuesday, January 26, 2016 1:47 PM
To: ktasker at library.berkeley.edu; Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Translation Values in Controlled Vocab Lists

Hi Kate,

I think you’ve got the right file.  From what I remember, the /locales/enums/en.yml file is not automatically updated when you add values to controlled value lists, either in the app or as part of an EAD import.  In the case of imports, the values display exactly as they are imported.

So, for example, if you import an EAD with container type=”map-cabinet-thingy”, the value will be stored and display as “map-cabinet-thingy,” but that value will not appear automatically in you en.yml file.
You can add entries in the en.yml file for these imported terms and change the translations if you want.

At Duke, we manage these changes in a plugin:

See: https://github.com/noahgh221/archivesspace-duke-plugins/blob/master/plugins/local/frontend/locales/enums/en.yml


Noah Huffman
Archivist for Metadata, Systems, and Digital Records
David M. Rubenstein Rare Book & Manuscript Library
Duke University | 919-660-5982

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Kate Tasker
Sent: Tuesday, January 26, 2016 12:05 PM
To: ArchivesSpace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Translation Values in Controlled Vocab Lists

Hello, List!

I need a bit of help updating the translation values in our controlled vocabulary lists. As a repository manager I've added several new terms to the container_type list from the front end. Our EAD migration process has also introduced a few dozen terms as well, so the value list now has over 50 terms (and is in desperate need of clean up!)

I want to edit the enums/en.yml file to update the translation values for the new terms (following the helpful instructions in the User Manual documentation), but the file my IT SysAdmin sent me only contains the 13 original values for the container_type list. My additions, and the imported terms, are not there (and my SysAdmin is sure he sent the most recent  file.)

Seems like a basic question, but...have we located the right file? If so, why don't we see the recently added terms? Are changes made in the front end sometimes saved to a different location?

Thanks for any light you can shed on this!


Kate Tasker
Digital Archivist
The Bancroft Library
University of California
Berkeley, CA 94720-6000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160126/ee99e248/attachment.html>

More information about the Archivesspace_Users_Group mailing list