<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style style="display: none;" id="owaParaStyle" type="text/css"><!--P {margin-top:0;margin-bottom:0;}--></style>
<meta content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body tabindex="0" aria-label="Message body" fpstyle="1" dir="ltr">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
Hi, <br>
<br>
Yes, it's using a format called YAML ( <a href="http://www.yaml.org/start.html" target="_blank">
http://www.yaml.org/start.html</a> ). <br>
<br>
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.
<br>
<p><br>
</p>
<p>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...<br>
</p>
<div>
<p><br>
</p>
<p>replace _ with spaces: <br>
</p>
<p><br>
</p>
<p><font face="arial" size="2">en:<br>
__brand:<br>
____title: My Archive<br>
____home: Home<br>
____welcome_message: Special Collections Research Center Archives Online</font></p>
<p><br>
</p>
<p>title is a child of brand. brand is a child of en. title and home are siblings. does that make sense?
<br>
</p>
<p><br>
</p>
<p>b,chris. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat | Phone: 918.236.6048<br>
http://archivesspace.org/<br>
</div>
</font></div>
</div>
</div>
</div>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of nwright@athenslibrary.org
<nwright@athenslibrary.org><br>
<b>Sent:</b> Saturday, August 30, 2014 3:13 PM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message</font>
<div> </div>
</div>
<div><font face="arial" size="2">
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
Hi Doug,</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
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:
<a href="http://www.caliban.org/ruby/rubyguide.shtml#indentation">http://www.caliban.org/ruby/rubyguide.shtml#indentation</a></p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
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. :-) </p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
-Natalie</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
-----Original Message-----<br>
From: "Douglas James Simmons" <dsimmons@siu.edu><br>
Sent: Friday, August 29, 2014 10:34am<br>
To: "Archivesspace Users Group" <archivesspace_users_group@lyralists.lyrasis.org><br>
Subject: Re: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message<br>
<br>
</p>
<div id="SafeStyles1409404087">
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
Apologies, but I don't understand the difference between that and what I used aside from indentation. Is indentation functional rather than just aesthetic?
<br>
<br>
-----Original Message-----<br>
From: archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org] On Behalf Of Chris Fitzpatrick<br>
Sent: Friday, August 29, 2014 6:35 AM<br>
To: Archivesspace Users Group (archivesspace_users_group@lyralists.lyrasis.org)<br>
Subject: Re: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message<br>
<br>
<br>
Hi Doug,<br>
<br>
Yes, the title, home, and welcome_message need to be children nested in brand, not as siblings.<br>
<br>
Like:<br>
en:<br>
brand:<br>
title: My Archive<br>
home: Home<br>
welcome_message: Special Collections Research Center Archives Online<br>
<br>
Try that...<br>
<br>
b,chris. <br>
<br>
<br>
Chris Fitzpatrick | Developer, ArchivesSpace<br>
Skype: chrisfitzpat | Phone: 918.236.6048 http://archivesspace.org/<br>
<br>
________________________________________<br>
From: archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Douglas James Simmons <dsimmons@siu.edu><br>
Sent: Wednesday, August 27, 2014 5:55 PM<br>
To: Archivesspace Users Group (archivesspace_users_group@lyralists.lyrasis.org)<br>
Subject: [Archivesspace_Users_Group] translation missing: en.brand.welcome_message<br>
<br>
I followed the instructions at:<br>
https://github.com/archivesspace/archivesspace/wiki/Customizing-&-Theming-ArchivesSpace<br>
<br>
trying to change "Welcome to Archivesspace" to "Special Collections Research Center Archives Online"<br>
<br>
I created the specified file<br>
archivesspace/plugins/local/public/locales/en.yml<br>
as follows:<br>
<br>
en:<br>
brand:<br>
title: My Archive<br>
home: Home<br>
welcome_message: Special Collections Research Center Archives Online<br>
<br>
I restarted the server, and now I get "translation missing: en.brand.welcome_message" on the front page.<br>
<br>
Any ideas?<br>
<br>
Doug Simmons<br>
Procedures and Systems Analyst II<br>
<br>
MORRIS LIBRARY - SYSTEMS<br>
MAIL CODE 6632<br>
SOUTHERN ILLINOIS UNIVERSITY<br>
605 AGRICULTURE DRIVE<br>
CARBONDALE, ILLINOIS 62901<br>
<br>
dsimmons@lib.siu.edu<br>
P: 618/453-1026<br>
F: 618/453-3031<br>
LIB.SIU.EDU<br>
<br>
<br>
<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
Archivesspace_Users_Group@lyralists.lyrasis.org<br>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
Archivesspace_Users_Group@lyralists.lyrasis.org<br>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
Archivesspace_Users_Group@lyralists.lyrasis.org<br>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</p>
</div>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
<br>
<br>
</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt"><span style="display:inline!important">Librarian & Webmaster</span><br>
Athens Regional Library System<br>
706-613-3650 ext 310</p>
<p style="margin:0; padding:0; font-family:arial; font-size:10pt; word-wrap:break-word">
</p>
</font></div>
</div>
</div>
</body>
</html>