[Archivesspace_Users_Group] translation missing: en.brand.welcome_message

nwright at athenslibrary.org nwright at athenslibrary.org
Sat Aug 30 09:13:55 EDT 2014


Hi Doug,
 
I just did this a week or two ago, and got the same message you did.  I researched online, and discovered that the ruby on rails convention is two spaces, and that using tab will mess up the code: [ http://www.caliban.org/ruby/rubyguide.shtml#indentation ]( http://www.caliban.org/ruby/rubyguide.shtml#indentation )
 
I was using tab, and once I cleared that out, my code over-ride worked.  But yes, the indentation is significant.  It's apparently part of the ruby on rails syntax.  I don't have an explanation for why since I'm not a strong coder in anything but html. :-) 
 
-Natalie
 
 
-----Original Message-----
From: "Douglas James Simmons" <dsimmons at siu.edu>
Sent: Friday, August 29, 2014 10:34am
To: "Archivesspace Users Group" <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message



Apologies, but I don't understand the difference between that and what I used aside from indentation. Is indentation functional rather than just aesthetic? 

-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Chris Fitzpatrick
Sent: Friday, August 29, 2014 6:35 AM
To: Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org)
Subject: Re: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message


Hi Doug,

Yes, the title, home, and welcome_message need to be children nested in brand, not as siblings.

Like:
en:
 brand:
 title: My Archive
 home: Home
 welcome_message: Special Collections Research Center Archives Online

Try that...

b,chris. 


Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048 http://archivesspace.org/

________________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Douglas James Simmons <dsimmons at siu.edu>
Sent: Wednesday, August 27, 2014 5:55 PM
To: Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org)
Subject: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message

I followed the instructions at:
https://github.com/archivesspace/archivesspace/wiki/Customizing-&-Theming-ArchivesSpace

trying to change "Welcome to Archivesspace" to "Special Collections Research Center Archives Online"

I created the specified file
archivesspace/plugins/local/public/locales/en.yml
as follows:

en:
 brand:
 title: My Archive
 home: Home
 welcome_message: Special Collections Research Center Archives Online

I restarted the server, and now I get "translation missing: en.brand.welcome_message" on the front page.

Any ideas?

Doug Simmons
Procedures and Systems Analyst II

MORRIS LIBRARY - SYSTEMS
MAIL CODE 6632
SOUTHERN ILLINOIS UNIVERSITY
605 AGRICULTURE DRIVE
CARBONDALE, ILLINOIS 62901

dsimmons at lib.siu.edu
P: 618/453-1026
F: 618/453-3031
LIB.SIU.EDU



_______________________________________________
Archivesspace_Users_Group mailing list
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
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group



Librarian & Webmaster
Athens Regional Library System
706-613-3650 ext 310
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140830/231f3c20/attachment.html>


More information about the Archivesspace_Users_Group mailing list