<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Andrew,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for your reply. That doesn't appear to be the case here (either in my dockerised local development environment, where this is my only active plugin, or in our development server, where there are no other
<code>public/locale/*</code> files in any of our other currently-loaded plugins). Thanks for pointing that commit out, it looks like the related PR (<a href="https://github.com/archivesspace/archivesspace/pull/2266" id="LPlnkOWALinkPreview">https://github.com/archivesspace/archivesspace/pull/2266</a>)
made a number of other changes to plugins as well. I'll take a closer look.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Many thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Nick<br>
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL2FyY2hpdmVzc3BhY2UvYXJjaGl2ZXNzcGFjZS9wdWxsLzIyNjY." class="LPBorder469075" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer469075" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td>
<div id="LPImageContainer469075" style="position: relative; margin-right: 12px; height: 120px; overflow: hidden; width: 240px;">
<a target="_blank" id="LPImageAnchor469075" href="https://github.com/archivesspace/archivesspace/pull/2266"><img id="LPThumbnailImageId469075" alt="" style="display: block;" width="240" height="120" src="https://opengraph.githubassets.com/4f0a13a1a5b8753a7c5f583c5b46fc83586f0f61767e88e9effaef05c794c08a/archivesspace/archivesspace/pull/2266"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle469075" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor469075" href="https://github.com/archivesspace/archivesspace/pull/2266" style="text-decoration: none; color: var(--themePrimary);">Hm plugin enhancements from #1896 by lorawoodford · Pull Request #2266 · archivesspace/archivesspace</a></div>
<div id="LPDescription469075" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
Includes 30 commits from the larger #1896 written by @marktriggs @jambun @payten and funded by Queensland State Archives. 3dc860a: Introduce AbstractPluginSection (and examples) to allow arbitrar...</div>
<div id="LPMetadata469075" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Andrew Morrison
<andrew.morrison@bodleian.ox.ac.uk><br>
<b>Sent:</b> 31 March 2022 08:54<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] PUI locales not being fully loaded in v3.1.1?</font>
<div> </div>
</div>
<div>
<p>Do you have two or more plug-ins with a <i>public/locale/en.yml</i> file in each? If they have both have a brand: section, then one will override the other, even if only one defines a translation for the title: variable.</p>
<p><br>
</p>
<p>There has been a change between 2.8.1 and 3.1.1 in how plug-ins are loaded:</p>
<p><br>
</p>
<p><a class="x_moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Farchivesspace%2Farchivesspace%2Fcommit%2F1f4f34dd7cc655fc4a6e6d68cd8a5d8ff8c35cf8&data=04%7C01%7Cnpwb2%40universityofcambridgecloud.onmicrosoft.com%7C10e35f360bff4af9aca508da12ebbe15%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637843101552593640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rXxS378r50reikIqiuMvgWS5S6bvH6jOZWNXpZIHbA0%3D&reserved=0" originalsrc="https://github.com/archivesspace/archivesspace/commit/1f4f34dd7cc655fc4a6e6d68cd8a5d8ff8c35cf8" shash="aGhii7TwTMRndyz/JvSjwmu+SBnuy1xEpTv+pXz2RkOAnB8KyV2X2+p+N6BBSRvR1pluIhctEdROpo0K+20L+1wsMEIz6S7NLzcWN6elhCash0v+uShOaR42P56EjbnAvQP5xy03ex4sraIkfjK2EW1awamKMZkiMeRylXklTKY=">https://github.com/archivesspace/archivesspace/commit/1f4f34dd7cc655fc4a6e6d68cd8a5d8ff8c35cf8</a><br>
</p>
<p><br>
</p>
<p>Andrew.</p>
<p><br>
</p>
<p><br>
</p>
<div class="x_moz-cite-prefix">On 30/03/2022 15:10, Nick Butler wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi all,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
We've been trying out ArchivesSpace v3.1.1 in development environments prior to upgrading our production system from v2.8.1. We're experiencing an issue whereby some of the entries in our local plugin's
<code>public/locales/en.yml</code> file seemingly aren't being recognised. As far as I can tell, anything that's intended to override an entry in the default file isn't being seen (i.e. the value of
<code>brand.title</code>) , but everything new (i.e. entries in a <code>plugins</code> block) is being loaded successfully. Using ArchivesSpace version v2.8.1 again, without making any other changes, makes the locales load as expected. All entries in the
plugin's <code>frontend/locales/en.yml</code> file are being respected as expected in both v2.8.1 and v3.1.1. Has anyone else experienced this?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Many thanks,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Nick<br>
</div>
<br>
<fieldset class="x_moz-mime-attachment-header"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="x_moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=04%7C01%7Cnpwb2%40universityofcambridgecloud.onmicrosoft.com%7C10e35f360bff4af9aca508da12ebbe15%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637843101552593640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pUuzPkml3OIsXYhthd7VALyINmhUfm3gn5oW3ea0kgQ%3D&reserved=0" originalsrc="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" shash="fjB3Lqtn4B+x001myi9DtrO8Sx7abhL9yW0O4Rw3TvlTQ3SRAzumval6lvfu88P6RvvpQAaJC9Itt7yHZM55wXbl2AtdXewpLuvDharPdieHDZeDuqimyeGsfMc4Uvoamlxk2TkRGu7aRizS4jh3hiWbSQ4iiOfgkc4fNJ03SdU=">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
</blockquote>
</div>
</body>
</html>