[Archivesspace_Users_Group] translation missing

Busch, Ed buschedw at msu.edu
Wed Jun 24 14:06:31 EDT 2015


Please report as a bug in Jira; the system should do all the work.

Ed Busch
MSU Archives


On Jun 24, 2015, at 12:44 PM, Maura Carbone <mauraa at brandeis.edu<mailto:mauraa at brandeis.edu>> wrote:

Yeah, I'm surprised it doesn't auto add the translation on the GUI side -- that's why I asked at first if you were doing it the hard way (database and then manually edit the file). Maybe something for the future?
-Maura

On Wed, Jun 24, 2015 at 12:38 PM, Douglas James Simmons <dsimmons at siu.edu<mailto:dsimmons at siu.edu>> wrote:
Hear, hear!

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<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>] On Behalf Of Prom, Christopher John
Sent: Wednesday, June 24, 2015 11:28 AM

To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] translation missing

Agreed, and it also would be great if you could edit the views or styles w/out restarting the app, that would make it much easier to do any kind of local customization.

Chris

On Jun 24, 2015, at 11:21 AM, Maura Carbone <mauraa at brandeis.edu<mailto:mauraa at brandeis.edu>> wrote:


What Noah said! :-)
-Maura

On Wed, Jun 24, 2015 at 12:18 PM, Noah Huffman <noah.huffman at duke.edu<mailto: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> [mailto: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.

Thanks,
-Ben

Ben Goldman
Digital Records Archivist
Penn State University Libraries
University Park, PA
814-863-8333<tel:814-863-8333>
http://www.libraries.psu.edu/psul/speccolls.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.libraries.psu.edu_psul_speccolls.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=ukocXSWyOANqu4zS850QS7qWxNSHHIxyO7SVOMKlcpg&s=U9u50tt2zD-l-c9ULEgTULQPDCHdKPf0aJsWbVKkE1c&e=>


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=ukocXSWyOANqu4zS850QS7qWxNSHHIxyO7SVOMKlcpg&s=SQnAJTPhAfw8KloJ8MHgVvQMAFVYDZmv74Lmb5F3STE&e=>



--
Maura Carbone
Digital Initiatives Librarian
Brandeis University
Library and Technology Services
(781) 736-4659<tel:%28781%29%20736-4659>
415 South Street, (MS 017/P.O. Box 549110)
Waltham, MA 02454-9110
email: mauraa at brandeis.edu<mailto:mauraa at brandeis.edu>

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=ukocXSWyOANqu4zS850QS7qWxNSHHIxyO7SVOMKlcpg&s=SQnAJTPhAfw8KloJ8MHgVvQMAFVYDZmv74Lmb5F3STE&e=>



--
Maura Carbone
Digital Initiatives Librarian
Brandeis University
Library and Technology Services
(781) 736-4659<tel:%28781%29%20736-4659>
415 South Street, (MS 017/P.O. Box 549110)
Waltham, MA 02454-9110
email: mauraa at brandeis.edu<mailto:mauraa at brandeis.edu>
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto: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<mailto:mauraa at brandeis.edu>
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto: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/08961d9f/attachment.html>


More information about the Archivesspace_Users_Group mailing list