[Archivesspace_Users_Group] translation missing: en.brand.welcome_message
Chris Fitzpatrick
Chris.Fitzpatrick at lyrasis.org
Tue Sep 2 10:02:12 EDT 2014
Hi,
Yes, it's using a format called YAML ( http://www.yaml.org/start.html ).
Value pairs are seperated by a colon. Structure is shown by indention. You have to keep the indention uniform through-out the structure, so in this case you would nest values with two-spaces.
And sorry if the indention didn't come through in the email. My email browers is showing it did, but that might not always be the case...
replace _ with spaces:
en:
__brand:
____title: My Archive
____home: Home
____welcome_message: Special Collections Research Center Archives Online
title is a child of brand. brand is a child of en. title and home are siblings. does that make sense?
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 nwright at athenslibrary.org <nwright at athenslibrary.org>
Sent: Saturday, August 30, 2014 3:13 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message
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
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/20140902/d28a04a6/attachment.html>
More information about the Archivesspace_Users_Group
mailing list