[Archivesspace_Users_Group] translation missing

Ben Goldman bmg17 at psu.edu
Wed Jun 24 12:25:43 EDT 2015


That's exactly what I was looking for. Three cheers for community! 

Thank you both. 

-Ben 

----- Original Message -----

From: "Maura Carbone" <mauraa at brandeis.edu> 
To: "Archivesspace Users Group" <archivesspace_users_group at lyralists.lyrasis.org> 
Sent: Wednesday, June 24, 2015 12:21:32 PM 
Subject: Re: [Archivesspace_Users_Group] translation missing 

What Noah said! :-) 
-Maura 

On Wed, Jun 24, 2015 at 12:18 PM, Noah Huffman < noah.huffman at duke.edu > wrote: 





Ben, 



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. 



collection_management_processing_status: 

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. 



-Noah 



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 > wrote: 
<blockquote>



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. 



Thanks, 


-Ben 





Ben Goldman 
Digital Records Archivist 
Penn State University Libraries 
University Park, PA 
814-863-8333 
http://www.libraries.psu.edu/psul/speccolls.html 






_______________________________________________ 
Archivesspace_Users_Group mailing list 
Archivesspace_Users_Group at lyralists.lyrasis.org 
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group 











-- 


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 

_______________________________________________ 
Archivesspace_Users_Group mailing list 
Archivesspace_Users_Group at lyralists.lyrasis.org 
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group 


</blockquote>




-- 
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 

_______________________________________________ 
Archivesspace_Users_Group mailing list 
Archivesspace_Users_Group at lyralists.lyrasis.org 
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150624/1914f3a6/attachment.html>


More information about the Archivesspace_Users_Group mailing list