[Archivesspace_Users_Group] translation missing

James Bullen james at hudmol.com
Wed Jun 24 12:25:18 EDT 2015


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.


> On Jun 24, 2015, at 12:21 PM, Maura Carbone <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 <http://www.libraries.psu.edu/psul/speccolls.html>
>  
> 
> 
> _______________________________________________
> 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 <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
> 
> 
>  
> 
> --
> 
> 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 <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>
> !DSPAM:558ad917141307855913962! _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
> 
> 
> !DSPAM:558ad917141307855913962!

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


More information about the Archivesspace_Users_Group mailing list