[Archivesspace_Users_Group] translation missing

Noah Huffman noah.huffman at duke.edu
Wed Jun 24 12:18:32 EDT 2015


As I understand it, for any new value that you add to a controlled value list, you must also add that value and a translation value (label) to the locales/enums/en.yml file.  You then have to restart the application for the changes to take effect.

I’ve actually been doing this all morning.  We manage these customizations as part of a local plugin (plugins/local/frontend/locales/enums/en.yml).

For example, here are some custom values we’ve added at Duke to track processing levels.

      completed: Completed
      completed_level1_accessioning: Completed - Level 1 - Accessioning
      completed_level2_core_level: Completed - Level 2 - Core Level
      completed_level3_folder_level: Completed - Level 3 - Folder Level
      completed_level4_item_level: Completed - Level 4 - Item Level

If you don’t specify these translation labels in the en.yml file, the values are still available in the application drop-downs, but they are prefixed with: translation missing: en.enumerations.[value]

It’d be great if you could edit the translation values directly in the staff interface.


From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Maura Carbone
Sent: Wednesday, June 24, 2015 12:07 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] translation missing

Hi Ben,
Were they values that were editable through the user interface, or did you add them in manually in one of the .yml files?

On Wed, Jun 24, 2015 at 12:04 PM, Ben Goldman <bmg17 at psu.edu<mailto:bmg17 at psu.edu>> wrote:
Hi All,

I am sure this has been discussed here before, so I apologize in advance if I'm asking a repeat question. We've added some new values to a few of the controlled values list, but these new ones are displaying like this in the staff interface:

translation missing: en.enumerations.[value]

It seems we've missed a step. Let me know if there is something I can do to correct this.


Ben Goldman
Digital Records Archivist
Penn State University Libraries
University Park, PA

Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

Maura Carbone
Digital Initiatives Librarian
Brandeis University
Library and Technology Services
(781) 736-4659
415 South Street, (MS 017/P.O. Box 549110)
Waltham, MA 02454-9110
email: mauraa at brandeis.edu<mailto:mauraa at brandeis.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150624/25a1b3d3/attachment.html>

More information about the Archivesspace_Users_Group mailing list