<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div>I think this should be reported as a bug. If there is no translation it should just show the bare value, not the translation error.<div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 24, 2015, at 12:21 PM, Maura Carbone <<a href="mailto:mauraa@brandeis.edu" class="">mauraa@brandeis.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">What Noah said! :-)<div class="">-Maura</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jun 24, 2015 at 12:18 PM, Noah Huffman <span dir="ltr" class=""><<a href="mailto:noah.huffman@duke.edu" target="_blank" class="">noah.huffman@duke.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple" class="">
<div class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">Ben,<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">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.<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">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).<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">For example, here are some custom values we’ve added at Duke to track processing levels.
<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><i class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">collection_management_processing_status:<u class=""></u><u class=""></u></span></i></p><p class="MsoNormal"><i class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""> completed: Completed<u class=""></u><u class=""></u></span></i></p><p class="MsoNormal"><i class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""> completed_level1_accessioning: Completed - Level 1 - Accessioning<u class=""></u><u class=""></u></span></i></p><p class="MsoNormal"><i class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""> completed_level2_core_level: Completed - Level 2 - Core Level<u class=""></u><u class=""></u></span></i></p><p class="MsoNormal"><i class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""> completed_level3_folder_level: Completed - Level 3 - Folder Level<u class=""></u><u class=""></u></span></i></p><p class="MsoNormal"><i class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""> completed_level4_item_level: Completed - Level 4 - Item Level<u class=""></u><u class=""></u></span></i></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">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:
</span><strong class=""><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333;background:whitesmoke" class="">translation missing: en.enumerations.[value]</span></strong><span style="font-size: 10pt; font-family: Georgia, serif;" class=""><u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">It’d be great if you could edit the translation values directly in the staff interface.<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">-Noah<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><b class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class=""> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b class="">On Behalf Of </b>Maura Carbone<br class="">
<b class="">Sent:</b> Wednesday, June 24, 2015 12:07 PM<br class="">
<b class="">To:</b> Archivesspace Users Group<span class=""><br class="">
<b class="">Subject:</b> Re: [Archivesspace_Users_Group] translation missing<u class=""></u><u class=""></u></span></span></p><p class="MsoNormal"><u class=""></u> <u class=""></u></p>
<div class=""><p class="MsoNormal">Hi Ben,<u class=""></u><u class=""></u></p><div class=""><div class="h5">
<div class=""><p class="MsoNormal">Were they values that were editable through the user interface, or did you add them in manually in one of the .yml files?<u class=""></u><u class=""></u></p>
</div>
</div></div></div><div class=""><div class="h5">
<div class=""><p class="MsoNormal"><u class=""></u> <u class=""></u></p>
<div class=""><p class="MsoNormal">On Wed, Jun 24, 2015 at 12:04 PM, Ben Goldman <<a href="mailto:bmg17@psu.edu" target="_blank" class="">bmg17@psu.edu</a>> wrote:<u class=""></u><u class=""></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt" class="">
<div class="">
<div class="">
<div class=""><p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia, serif;" class="">Hi All,<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia, serif;" class=""><br class="">
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:<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia, serif;" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><strong class=""><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333;background:whitesmoke" class="">translation missing: en.enumerations.[value]</span></strong><span style="font-size: 10pt; font-family: Georgia, serif;" class=""><u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia, serif;" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia, serif;" class="">It seems we've missed a step. Let me know if there is something I can do to correct this.<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia, serif;" class=""><br class="">
Thanks,<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia, serif;" class="">-Ben <u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif;color:#888888" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class="">
<div class=""><p class="MsoNormal"><b class=""><span style="font-family: Georgia, serif;" class="">Ben Goldman</span></b><span style="font-family: Georgia, serif;" class=""><br class="">
Digital Records Archivist<br class="">
Penn State University Libraries<br class="">
University Park, PA<br class="">
</span><a href="tel:814-863-8333" target="_blank" class=""><span style="font-family:"Georgia",serif" class="">814-863-8333</span></a><span style="font-family: Georgia, serif;" class=""><br class="">
</span><a href="http://www.libraries.psu.edu/psul/speccolls.html" target="_blank" class=""><span style="font-family:"Georgia",serif" class="">http://www.libraries.psu.edu/psul/speccolls.html</span></a><span style="font-size:10.0pt;font-family:"Georgia",serif;color:#888888" class=""><u class=""></u><u class=""></u></span></p>
</div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif;color:#888888" class=""><u class=""></u> <u class=""></u></span></p>
</div>
</div>
</div><p class="MsoNormal" style="margin-bottom:12.0pt"><br class="">
_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><u class=""></u><u class=""></u></p>
</blockquote>
</div><p class="MsoNormal"><br class="">
<br clear="all" class="">
<u class=""></u><u class=""></u></p>
<div class=""><p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div><p class="MsoNormal">-- <u class=""></u><u class=""></u></p>
<div class="">
<div class=""><p class="MsoNormal">Maura Carbone<u class=""></u><u class=""></u></p>
<div class=""><p class="MsoNormal">Digital Initiatives Librarian<br class="">
Brandeis University<br class="">
Library and Technology Services<br class="">
<a href="tel:%28781%29%20736-4659" value="+17817364659" target="_blank" class="">(781) 736-4659</a><br class="">
415 South Street, (MS 017/P.O. Box 549110)<br class="">
Waltham, MA 02454-9110<br class="">
email: <a href="mailto:mauraa@brandeis.edu" target="_blank" class="">mauraa@brandeis.edu</a><u class=""></u><u class=""></u></p>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
<br class="">_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class="">Maura Carbone<div class="">Digital Initiatives Librarian<br class="">Brandeis University<br class="">Library and Technology Services<br class="">(781) 736-4659<br class="">415 South Street, (MS 017/P.O. Box 549110)<br class="">Waltham, MA 02454-9110<br class="">email: <a href="mailto:mauraa@brandeis.edu" target="_blank" class="">mauraa@brandeis.edu</a><br class=""></div></div></div>
</div>
!DSPAM:558ad917141307855913962!
_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br class=""><br class=""><br class="">!DSPAM:558ad917141307855913962!<br class=""></div></blockquote></div><br class=""></div></body></html>