<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><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">I'm working with Ron to resolve a couple of issues with the plugin and will report back
when those are sorted.</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">jds<br>
</span></div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<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 Joshua D. Shaw
<Joshua.D.Shaw@dartmouth.edu><br>
<b>Sent:</b> Thursday, December 7, 2023 8:29 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Because I was curious, I tested this out and created a small plugin that supports this feature:
</span><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><a href="https://github.com/dartmouth-dltg/aspace_custom_localizations" originalsrc="https://github.com/dartmouth-dltg/aspace_custom_localizations" shash="BlW6XrkhEXn5ICrpuFfMdfjRiWl370Cu4yXOtlvHjUS7Lz6TUZ38iQNXSftB2QSCjBQtGFl1xL/2xRiTyJoaznfXsroJ5jj7Rvh3bpawnSrT9rtvlTuiHyljx7xVKISuEmh/g6dzg9z6iELFJ2etCvfQjyJjH2iTN9KWdkc97fQ=" id="LPlnk607424">https://github.com/dartmouth-dltg/aspace_custom_localizations</a><br>
</span></div>
<div class="x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div class="x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">I tested this against 3.4.1, but I believe it will work with most any version of ArchivesSpace.<br>
</span></div>
<div class="x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div class="x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Hopefully the ReadMe is self explanatory, but let me know if things are unclear.</span></div>
<div class="x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div class="x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">jds<br>
</span></div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Joshua D.
Shaw <Joshua.D.Shaw@dartmouth.edu><br>
<b>Sent:</b> Wednesday, December 6, 2023 4:03 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">The other way to do this (a bit hacky) is to expand the common.jar file in /lib, make your edits to the relevant I18n
file (common/aspace_i18n.rb), and then recompress the jar file.</span></div>
<div class="x_x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div class="x_x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">This works for any edits you need to core, but its hacky because its not really a sustainable
way to do things since you need to edit the same file for <b>every</b> update to the core code.</span></div>
<div class="x_x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div class="x_x_elementToProof"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">jds</span></div>
<div class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_appendonsend"></div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of
Joshua D. Shaw <Joshua.D.Shaw@dartmouth.edu><br>
<b>Sent:</b> Wednesday, December 6, 2023 1:13 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</span>
<div> </div>
</div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">One thing you might try is initializing the AppConfig[:locale] setting in the plugin itself, since
it may be an order of operations issue where the main config loads first which attempts to initialize an unknown language (because the plugin hasn't loaded yet).</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">jds</span></div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_x_appendonsend"></div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="direction:ltr; display:inline-block; width:98%">
<div id="x_x_x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of
Ron Van den Branden <Ron.VandenBranden@antwerpen.be><br>
<b>Sent:</b> Wednesday, December 6, 2023 12:00 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</span>
<div> </div>
</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
Hi Joshua,</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
<br>
</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
Thanks again for your detailed steps! Although a first attempt didn't work (startup keeps choking on the original languages list), I'm sure we'll get there, with more time. Thanks for pointing me in the good direction: overriding the language list via plugin
initialization. I'll definitely check out those other plugins for inspiration.</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
<br>
</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
Best,</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
<br>
</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
Ron</div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_x_x_appendonsend"></div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="direction:ltr; display:inline-block; width:98%">
<div id="x_x_x_x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>Van:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> namens Joshua
D. Shaw <Joshua.D.Shaw@dartmouth.edu><br>
<b>Verzonden:</b> woensdag 6 december 2023 17:21<br>
<b>Aan:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Onderwerp:</b> Re: [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</span>
<div> </div>
</div>
<table align="left" style="direction:ltr; display:table; width:100%; table-layout:fixed">
<tbody>
<tr>
<td style="direction:ltr; padding:7px 2px; vertical-align:middle; width:1px; background-color:rgb(166,166,166)">
</td>
<td style="direction:ltr; text-align:left; padding:7px 5px 7px 15px; vertical-align:middle; width:100%; color:rgb(33,33,33); background-color:rgb(234,234,234)">
<div style="direction:ltr; text-align:left"><span style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:12px">U ontvangt niet vaak e-mail van joshua.d.shaw@dartmouth.edu.
<a href="https://aka.ms/LearnAboutSenderIdentification" id="OWA941821dc-5300-fc71-1548-253e94852478" class="x_x_x_x_OWAAutoLink" data-auth="NotApplicable" data-loopstyle="linkonly">
Meer informatie over waarom dit belangrijk is</a></span></div>
</td>
<td align="left" style="direction:ltr; padding:7px 5px; vertical-align:middle; width:75px; color:rgb(33,33,33); background-color:rgb(234,234,234)">
</td>
</tr>
</tbody>
</table>
<p style="direction:ltr; line-height:105%; margin:0cm 0cm 8pt; font-family:Calibri,sans-serif; font-size:13px">
<span style="font-family:Arial,sans-serif; line-height:105%; color:rgb(207,0,57)"><b>WAARSCHUWING: DIT IS EEN EXTERNE MAIL</b></span></p>
<p style="direction:ltr; line-height:105%; margin:0cm 0cm 8pt; font-family:Calibri,sans-serif; font-size:12px">
<span style="font-family:Arial,sans-serif; line-height:105%; color:rgb(207,0,57)">Deze mail komt van buiten onze organisatie. Kijk eerst of je het mailadres en de afzender herkent en/of vertrouwt. Doe dat voor je bijlagen opent of links aanklikt. Zo houden
we onze organisatie veiliger voor phishing. </span></p>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Hey Ron</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Here's the way I'd do this.</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<ol start="1" data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}" data-listchain="__List_Chain_521" style="direction:ltr; list-style-type:decimal">
<li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Create a new directory in the plugin folder in your ArchivesSpace directory. Call it something like aspace_custom_locatizations
(or whatever you want)</span></li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">In that new directory, create two new directories: backend and frontend</span></li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">In the backend directory, add a file called plugin_init.rb. Put the contents of the monkey patch in that file</span></li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">In the frontend directory, add a file tree that mimics the locales directory in the core code:</span></li><ol start="1" style="direction:ltr; list-style-type:lower-alpha">
<li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">locales/</span></li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">locales/enums</span></li></ol>
<li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Add your new dutch locales files to those two locations. Name them nl.yml</span></li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">In your config file, add your plugin name (the directory name in step 1) to the list of plugins that are active: AppConfig[:plugins]
is the key you want to edit.</span></li></ol>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Since I haven't tested this, there may be some gotchas I'm not thinking about as far as the monkeypatch
and where the locales list may also be referenced, but this is the approach I'd take.</span></div>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">There's more info on that tech docs page and there are a bunch of examples to be found on the Awesome
ArchivesSpace repo (<a href="https://github.com/archivesspace/awesome-archivesspace" originalsrc="https://github.com/archivesspace/awesome-archivesspace" shash="k3gKV7Dxy1ki8/OceeeBT6glO1lF4589N/n4QNSDuFFTCC43d4lODbZqs9mSthdd68rDw3F0kmSsuCHxyXSlDb7yxgQUNXYDHCUvcp2BNYvxBwNkwp2/XhFIfAtFb2i4qkr0itmnk++lZFe/EZH6oSFfJ5c4zNWjhfEzgkt4K7E=" originalsrc="https://github.com/archivesspace/awesome-archivesspace" shash="A9AJ274Zd9n4cy1g8e2r3PczEo+RB5K37uZyGnoYeP3/oLacE7ktT0eJON2Xg6kp+w5sv9+CD7Va3dg0F0Os8CFrmTRZTsRdmwweRGIr8hrh8pPIpfYWXjpwbPxK59RiypzRyjNsl6ZD2eZfz6gd62UV6r9QpO1jLAjAOE7OCMY=" id="OWA887124b1-7a46-45b6-49e9-9dd29562be92" class="x_x_x_x_OWAAutoLink" shash="ey7AY3vuTHNm/MIkRfIRS5Egh7xMa0CLVrKUtYeEyC3zg8a5lH/IzzSCg/E0/VhZAKx4rlj3d7kn86GrW5mNb+POywPu052OVUCpD9CJ+F/HVqTsk8JCpmud/zq2Y3ZEQIwLowFjCRaoLKY97tgdaln/pvyHcghomrwiwzSBjbA=" originalsrc="https://github.com/archivesspace/awesome-archivesspace" data-auth="Verified" data-loopstyle="linkonly">https://github.com/archivesspace/awesome-archivesspace</a>)
and Hudson Molonglo's repos (<a href="https://github.com/hudmol" originalsrc="https://github.com/hudmol" shash="TAv41cPzoaxK9WM2QcCQzvZckXKtZXZkS8Knto8sFs3BBHlg6ISjCwd7RtworN6DoWJb0q1fmmJ8U04J5Kezgmj50C0PCiTnDm7/jwnjFDR9vhTGqypEoHxgcvY0dS3ltKoD+RUlaEFFBpB1Hty5o/E8tCyesn2kEn6Mvc9jEtE=" originalsrc="https://github.com/hudmol" shash="PM3nAddig1uP/va1sZZhBTRIi5DtBMlc+kVy45q8I1rztO/8l9JshTFQpaJS7LGL+oJcjFhAfiqMYoCCXWcusrAyxrpZQSEZLt84oUDysRhaKz66jA2DkPxEKDoDnnk4eE1LBUVNw8/3hVw+geEf84meliF11IL8Kf8zJAidsgg=" id="OWA49f8b7ba-b44b-6b63-f281-9c287604ab87" class="x_x_x_x_OWAAutoLink" shash="n5yeplEIJVScDsXHXGq0H9F89XyQWsehKXUjd1tDfqk2rFsoPChD7p71AKV/yuzjLdDSpcu+tobIZaD/+8Q6Wa8KQjUeOKRBNa7NYSY6Zw/dqJ2eepXgJ/yPoaqdtfVVRc0wUF50tFG6h96bqgw7iqZRSAaviHwT262mTUXlYPc=" originalsrc="https://github.com/hudmol" data-auth="Verified" data-loopstyle="linkonly">https://github.com/hudmol</a>)
and <a href="https://gitlab.gaiaresources.com.au/explore" originalsrc="https://gitlab.gaiaresources.com.au/explore" shash="B3phegonNctJ5YKPOcVT428GSIS/M8Yd2jmzI0m/N6jx064u8R8A6W3OfNAlsCFC+40EzXp444Xmjovi04XJiqVZx6Pth+2s/7nhEzjR6Fc6wkQlntqGr7vR+1rO+H7kmezXgLEbihHG1CLlDoo7tIeu+B7fUdPDC24SLFLuLWE=" originalsrc="https://gitlab.gaiaresources.com.au/explore" shash="JUvt5uyQEvt4fl/RxB7Wgtw7ZC+h64P/5n+aNRdquCq7a75AZRVbyL8yJGlK7+I/4qboumpje6OniT92jlpEn8slxlucMIYSCI4HAOCu3PTzicqOaqFbcYRLcJp1eghRybzOvYnRz9fSB8viHVl/s73Y5eHl9ybdUf6knOtnOa8=" id="OWAb01f3d5b-7204-4b08-a248-307f4564bcd3" class="x_x_x_x_OWAAutoLink" shash="KDVWqUk1GtBDey/8RZwHqPnM351jtPkR7TN3Hi3C+32t0nvXrAcW8351ZHueoefqjolOHMqTwRCpWVmpDwEzesU8MKxHXaX3SgxOmIEdtXmi8iptDKRj9U2+1Al8vOWGYupTcU0eTx9IC2PPo9cIvdzizx5Kq14rRfTHtwHS1qc=" originalsrc="https://gitlab.gaiaresources.com.au/explore" data-auth="Verified" data-loopstyle="linkonly">
https://gitlab.gaiaresources.com.au/explor</a></span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">jds</span></div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_x_x_x_appendonsend"></div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="direction:ltr; display:inline-block; width:98%">
<div id="x_x_x_x_x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf
of Ron Van den Branden <Ron.VandenBranden@antwerpen.be><br>
<b>Sent:</b> Wednesday, December 6, 2023 11:01 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</span>
<div> </div>
</div>
<div style="direction:ltr"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)">Hi Joshua,</span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)">Ok, thanks for that pointer! The point is that we couldn't find that common/aspace_i18n.rb
file in the ArchivesSpace distribution code. Or are you suggesting to add it in a plugin? If so, would you mind guiding me a bit more?</span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)">I don't think we've succeeded in building from source (I'm on Windows, so
I'm probably at a loss for local testing, I recall some Ruby build incompatibilities). </span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)">Best,</span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr; text-align:left; margin:0px"><span style="letter-spacing:normal; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; font-weight:400; color:rgb(0,0,0)">Ron</span></div>
<div style="direction:ltr"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)"><br>
</span></div>
<hr style="direction:ltr; display:inline-block; width:98%">
<div id="x_x_x_x_x_x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>Van:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> namens
Joshua D. Shaw <Joshua.D.Shaw@dartmouth.edu><br>
<b>Verzonden:</b> woensdag 6 december 2023 16:44<br>
<b>Aan:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Onderwerp:</b> Re: [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</span>
<div> </div>
</div>
<table align="left" style="direction:ltr; display:table; width:100%; table-layout:fixed">
<tbody>
<tr>
<td style="direction:ltr; padding:7px 2px; vertical-align:middle; width:1px; background-color:rgb(166,166,166)">
</td>
<td style="direction:ltr; text-align:left; padding:7px 5px 7px 15px; vertical-align:middle; width:100%; color:rgb(33,33,33); background-color:rgb(234,234,234)">
<div style="direction:ltr; text-align:left"><span style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:12px">U ontvangt niet vaak e-mail van joshua.d.shaw@dartmouth.edu.
<a href="https://aka.ms/LearnAboutSenderIdentification" id="OWA661a16ba-d411-d24a-e0ff-10defab00403" class="x_x_x_x_x_x_OWAAutoLink" data-auth="NotApplicable" data-loopstyle="linkonly">
Meer informatie over waarom dit belangrijk is</a></span></div>
</td>
<td align="left" style="direction:ltr; padding:7px 5px; vertical-align:middle; width:75px; color:rgb(33,33,33); background-color:rgb(234,234,234)">
</td>
</tr>
</tbody>
</table>
<p style="direction:ltr; line-height:105%; margin:0cm 0cm 8pt; font-family:Calibri,sans-serif; font-size:13px">
<span style="font-family:Arial,sans-serif; line-height:105%; color:rgb(207,0,57)"><b>WAARSCHUWING: DIT IS EEN EXTERNE MAIL</b></span></p>
<p style="direction:ltr; line-height:105%; margin:0cm 0cm 8pt; font-family:Calibri,sans-serif; font-size:12px">
<span style="font-family:Arial,sans-serif; line-height:105%; color:rgb(207,0,57)">Deze mail komt van buiten onze organisatie. Kijk eerst of je het mailadres en de afzender herkent en/of vertrouwt. Doe dat voor je bijlagen opent of links aanklikt. Zo houden
we onze organisatie veiliger voor phishing. </span></p>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Hey Ron</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">In addition to what Christine lists....</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Off the top of my head (so take with a grain of salt since I haven't actually tested this!)...</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">In a plugin init (probably a backend plugin_init), monkey patch the self.supported_locales method
in common/aspace_i18n.rb. Maybe something like</span></div>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">module I18n</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">def self.supported_locales</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> enhanced_locales = LOCALES</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> # map I18n language code => ArchivesSpace enumerations:language_iso639_2
code</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> # enumerations iso codes found in common/locales/enums</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> enhanced_locales['nl'] = 'dut'</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> enhanced_locales</span></div>
<div style="direction:ltr; margin-right:40px; margin-left:40px"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">end</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">end</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Then you could add your new dutch locale file nl.yml within that same plugin.</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">OR</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">You could grab the code tree from github, patch it locally and build your patched application.</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Both approaches have their own set of headaches as far as maintenance.</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">To contribute and other tech docs:
<a href="https://archivesspace.github.io/tech-docs/readme_develop.html" originalsrc="https://archivesspace.github.io/tech-docs/readme_develop.html" shash="hdO/srPoCPF/M29rvAUayFu+97jjKaxZBCx81RitG8eZb+PXgnUucAhe76IBUHOs48wlHmICFZmeF4SZPQx0vtbCE1+C1EKz8QarTqUHxdJ72kFUSyUk3rA1oNJTKxiVFVc+rOFq/UwIj/T0CiasXaKJu7WPNA/68fjQtBHHlyE=" originalsrc="https://archivesspace.github.io/tech-docs/readme_develop.html" shash="J4pBTr5fEtXDdCoyztsXgzk+1yh1pARx498ffV+SP+lctJ0x8sffVwZMfPw0FEVzj83AdYHC9vSaQEYEnQOtF5AsE+3/UXXCo5tIzjzYYOcwtBjtLtE4zJJ+Xv5utB4ZDz9jRj26YRQjH1+cPpI8Q1aQqpbGo834A9ztwoD7o9s=" id="OWA039147eb-44a7-15f0-a14a-cc0c12d5aca1" class="x_x_x_x_x_x_x_OWAAutoLink" shash="UldliDSDqdB7+6Fe3+poN2T9DMN+srVdKqDQr9Q/mJcjMXw2d9jKZP2lnUasGviFPiPXR2YcHN0QBw0xK0tKr/cJpTrOMa/NmIw1QbAMTGAI4uBvNYw9JleGUoVkA0uF2Ylb1IrxsNnnOJzzeHATFyVV9zEr+jxhxyvH/X2htAc=" originalsrc="https://archivesspace.github.io/tech-docs/readme_develop.html" data-auth="Verified" data-loopstyle="linkonly">
https://archivesspace.github.io/tech-docs/readme_develop.html</a></span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Hope that helps!</span></div>
<div style="direction:ltr"><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Joshua</span></div>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_x_x_x_x_x_appendonsend"></div>
<div style="direction:ltr; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="direction:ltr; display:inline-block; width:98%">
<div id="x_x_x_x_x_x_x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on
behalf of Ron Van den Branden <Ron.VandenBranden@antwerpen.be><br>
<b>Sent:</b> Wednesday, December 6, 2023 9:51 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] how to add a new locale to ArchivesSpace?</span>
<div> </div>
</div>
<div style="direction:ltr"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">Hi all,</span></div>
<div style="direction:ltr; margin-top:1em; margin-bottom:1em"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">We're in the process of customizing the ArchivesSpace (3.4.1) staff interface for use in a Dutch-speaking
context. We would like to translate the back-end user interface to Dutch. So far, in order to gain speed, we've resorted to tweaking the en.yml localization files with Dutch labels. In the longer run, hijacking "English" for another language feels like a hack,
though.</span></div>
<div style="direction:ltr; margin-top:1em; margin-bottom:1em"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">The documentation for "customizing text" at
<a href="https://archivesspace.github.io/tech-docs/customization/locales.html" originalsrc="https://archivesspace.github.io/tech-docs/customization/locales.html" shash="KMrHT9Ky1A/Pi5SUlGaLurSklhKDVh8lE07tEzP0NJXshEyPmLfunwqKI1Q6sANzaK2gDO4S6j486zN6q25bmFCvF45iNKi3ZpeqehQMNnzTkE+d4fzzVgqYtbS6wsV5GZW6Mrvjvt7FB3pBpGptRhhR+9OWD+rDiFe2DfTqxfI=" originalsrc="https://archivesspace.github.io/tech-docs/customization/locales.html" shash="uKSkUXjjN6C9RM8z5k5087XAKyAlS/4f9PNnBQVmc//3Od1yR8nQ5FhU9K1erkM8MafUUhvOMgjYkGGq2b5Ke9GyXTgR2czS2lHh9zZGdxZ6Cw/om4FjOXMuwzY7VrzlqaU4QF8sdr1/MpMEo6ogiqASI6iSgV24EMmZ3hFBIjs=" id="OWAb3cb4291-18a6-56f5-91af-67cd014c08bf" class="x_x_x_x_x_x_x_x_OWAAutoLink" shash="A1vvGFosKb1FWmHXY4xQgKNLxt3B1TuOe2KDiq3ibsfJsn1g5D04Mdpak8rAdhbfFJQ2dwR7pLwy0N8tKAmMYZLFrB3d6nQieb2diF2LYWqlwm8fl1GV8DHMSm8KCa1pL7ORk3x4fyc0kmhF8VXhZ0VRgc6gGiBZQRRirvW8ASE=" originalsrc="https://archivesspace.github.io/tech-docs/customization/locales.html" data-auth="Verified" data-loopstyle="linkonly">
https://archivesspace.github.io/tech-docs/customization/locales.html</a> does mention where strings can be customized in current locales, but not how new locales can be added. Simply adding new locale files for new languages, with according names and language
codes, at the right locations doesn't seem to do the trick:</span></div>
<ul style="direction:ltr; list-style-type:disc">
<li style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">either the language is not being offered in the list of available languages</span></li><li style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
<div style="direction:ltr"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">when additionally the new language is specified explicitly in the config/config.rb file as
</span><span style="font-family:"Courier New",monospace; font-size:10pt; color:rgb(0,0,0)">AppConfig[:locale] = :nl</span><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)"> , this yields following error at startup:</span></div>
<blockquote style="margin-right:0px; margin-left:0.8ex; padding-left:1ex; border-left:3px solid rgb(200,200,200)">
<pre><div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">JSONModel::ValidationException: #<:ValidationException: {:errors=>{"defaults/locale"=>["Invalid value 'nl'. Must be one of: en, fr, de, ja, es"]}}></div></pre>
<pre><div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)"> validate at uri:classloader:/jsonmodel_type.rb:385</div></pre>
<pre><div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)"> with_validator_for at uri:classloader:/validator_cache.rb:41</div></pre>
</blockquote>
</li></ul>
<div style="direction:ltr; margin-top:1em; margin-bottom:1em"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">...so there must be more to adding a new locale. Yet, we can't find where in the ArchivesSpace distribution
code such a list of default locales can be found or edited.</span></div>
<div style="direction:ltr; margin-top:1em; margin-bottom:1em"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">We
<i>did </i>find the file in the ArchivesSpace source tree at <a href="https://github.com/archivesspace/archivesspace/blob/master/common/aspace_i18n.rb#L28" originalsrc="https://github.com/archivesspace/archivesspace/blob/master/common/aspace_i18n.rb#L28" shash="m0HxsNTNycQhJ2S1yafUFaCUC/TQjbKjG73ooNy10FTY3tm1TdM33IyDcv2BSiVZ+218VeMElboLiuoxN9K5/VA35CJr5HtSrreEcuO7bJqmX58fa1o2DUqrMWNhO5KllaGIlNQkYxaCa8R3gFK6HWdSs2Fui163FLi+fBKZ2Xw=" originalsrc="https://github.com/archivesspace/archivesspace/blob/master/common/aspace_i18n.rb#L28" shash="wN2r0os7VPA7/jcK9HBxci6E1ZYaPDVhUitsqSsOvzNm1cKHvwij2Zt137rXLcG87pOwGROwgFvzJM2CoVWfs1DX/DD8AGLqh8kZmp3htKZbqHeacoqPwcIKyGalz/S23vAYCSSV1wymh77nemrX75hB2dajKxUhdsJQOKSIk8M=" id="OWA39f00d26-bba1-f445-52e5-1d556579eca1" class="x_x_x_x_x_x_x_x_OWAAutoLink" shash="EormLmbYdKPT2ErmZmaoqKE2beu+KvLUZhwMeRp0ksfCFpOm+UmkjjR9h+z/t59BVP5wP8P/lhKzvQcLkNsQqaoN2rdpnt8AJlkbc1enugiheen0nn+u7B4uY3gvp+i5gtv6ktWoQzXRplqRZrMhD/4zh9gKsYwvwAhtb3IL0xg=" originalsrc="https://github.com/archivesspace/archivesspace/blob/master/common/aspace_i18n.rb#L28" data-auth="Verified" data-loopstyle="linkonly">
https://github.com/archivesspace/archivesspace/blob/master/common/aspace_i18n.rb#L28</a> which defines above list of locales This file can't be found in the distribution code, however, so it's not clear how it relates to the distribution code. The commit history
also shows commits from the Weblate project at <a href="https://hosted.weblate.org/projects/archivesspace-interfaces/#languages" originalsrc="https://hosted.weblate.org/projects/archivesspace-interfaces/#languages" shash="VcPodp16DxvVnNPXlq8ranO5yMVRnvjnvf+3HfSyvQhUAM8/UrPT0t5fDlOyO/rcNZS2Dszq4sH3HBT1Gridvx0m016rNwMRNwbDXyhIfbNib1eI0N5fqDFSIeZlmHS1I4lWCdo07T6PHFcJOeC+7jCqsD+567/BogQH9prnC6o=" originalsrc="https://hosted.weblate.org/projects/archivesspace-interfaces/#languages" shash="vHeshxXVbMFjDjgCt376iS2gjafOoYZxatt5bCIRXO5z3PMJs2CAryESvT4bPC3aHRSOzoF1F+EYtEIy/KfFuiSaAh2MVdiAl2gHEQimuuGd4IsEScH2MVdz1i5e3vjx5a89YmIgCC2qmwRbfbeltTv0anEzgFHscD3KZ0p8dZI=" id="OWA80721e8b-1627-b85a-82e9-4ec209387529" class="x_x_x_x_x_x_x_OWAAutoLink" shash="x9BSc7/7E6GwhML9Dj+LLPz5m2mqj+UqOi37aTJe1N9xS8J0al8UH/7FKGDKudmOOCdKuhlfiaNeZk+3+XrS8fgPxFHsztMjh0kvEImOwBIvlbXZzIHxEULrcIC9d1zvbDAyRlc8Y6zOzYcD/zEfD2hsz990NtsEgvHB2JPISdc=" originalsrc="https://hosted.weblate.org/projects/archivesspace-interfaces/#languages" data-auth="Verified" data-loopstyle="linkonly">
https://hosted.weblate.org/projects/archivesspace-interfaces/#languages</a>, which contains additional languages Portuguese and Italian.</span></div>
<div style="direction:ltr; margin-top:1em; margin-bottom:1em"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">This leads to following questions:</span></div>
<ul style="direction:ltr; list-style-type:disc">
<li style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">what's the mechanism for adding a new locale to an ArchivesSpace instance?</span></li><li style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; direction:ltr; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">if our translations would reach a stage of being of broader interest, what would be the procedure for contributing them?</span></li></ul>
<div style="direction:ltr; margin-top:1em; margin-bottom:1em"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">Kind regards,</span></div>
<div style="direction:ltr; margin-top:1em; margin-bottom:1em"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">Ron</span></div>
<div style="direction:ltr; font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_x_x_x_x_x_x_Signature">
<p style="text-align:left; line-height:18.3333px; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; line-height:15px; color:rgb(77,77,77)"><b>Ron Van den Branden | functioneel analist - applicatiebeheerder Letterenhuis</b></span></p>
<p style="text-align:left; line-height:18.3333px; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; line-height:15px; color:rgb(77,77,77)">Stad Antwerpen | Talentontwikkeling en Vrijetijdsbeleving</span><span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; line-height:15px; color:rgb(0,0,0)"> </span><span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; line-height:15px; color:rgb(77,77,77)">|
Boeken en Letteren</span></p>
<p style="text-align:left; line-height:18.3333px; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; line-height:15px; color:rgb(77,77,77)">Minderbroedersstraat 22, 2000 Antwerpen</span></p>
<p style="text-align:left; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; color:rgb(77,77,77)">Grote Markt 1, 2000 Antwerpen</span></p>
<p style="text-align:left; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; color:rgb(77,77,77)">gsm +32 0485 02 80 50 | tel. +32 3 222 93 30</span></p>
<p style="text-align:left; line-height:18.3333px; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; line-height:15px; color:rgb(77,77,77)"><a href="http://www.letterenhuis.be/" originalsrc="http://www.letterenhuis.be/" shash="K+A6RdriYhzNlemUWfhyB8ShDnqpB5os01z8hz9HXpr4Q6SMtQNzSfsQOI6iXnmgB1v9FzYWyCs7s5Qi39Mlc2WSHgjjgUd9y+etYyTEJcZlUiwA+bBKx4zaIPicBbzAN5zepa2zLLEjXRxzufsn88u5OfOvVLfb3iD7c3L1Its=" originalsrc="http://www.letterenhuis.be/" shash="U3DsAy72hn8xbGmwF5K6S2FpV4SdG4tBul60PTlRdFCjKQ+IhZmK95pB/ZXSEYmrz9u2woqIchURzjfhRpo5o262CX484AMOnDKzshFN/2VzlkDZWKg8Or+/yAAFUPd72p4QqC2Gau52fL7a/5r/yOvAqQG51JXiQibhD+W/3tY=" id="OWA02dbb88f-12ec-a343-2b56-3acc01a318b5" class="x_x_x_x_x_x_x_x_ContentPasted0 x_x_x_x_x_x_x_x_OWAAutoLink" shash="h2Q7WGlySEmyrbN/FKxqalFinzLuN8x8VWLVdy13EULEF2M1PuHjU6jOrnYJUFrHX5zrE6oiGYUINggTotbrmgCtaJzJSa4CpBBj5+s6kLRuX/7tMaHH9T4wQvc1Aywep2HBjcT0cGF06dttmvLf3eUJEevpXnBkK0OSsuMueW8=" originalsrc="http://www.letterenhuis.be/" data-auth="Verified" data-safelink="true" data-linkindex="2" data-loopstyle="linkonly" style="margin:0px; color:rgb(77,77,77)">letterenhuis.be</a> |
<a href="https://www.instagram.com/letterenhuis/" originalsrc="https://www.instagram.com/letterenhuis/" shash="cywxRlBkK4vJcjpeZ/caWQTFkkKZAQe1RFdaPJxWWXaPBzCiaVysR4uyxxYoTC9Bwxl8kehTptoKxVFKwn8b38QAvSWsnp4isaTuMG+GjWCr7f9IhF1SKANUa/tVFKYh0At56T0DUTzj66RLOiuBJ+80IpIzcFO6rKewv0juFRs=" originalsrc="https://www.instagram.com/letterenhuis/" shash="IgTUfEDwUxXTSrsZNy1VU/KxnNA03AJOYy+Sv4pkPUmYyn33Yd7Qav59QI1v8PBWSOic+9uUTzDXbTVg3pMxAtnaRMBPrQTblpArPPM69rVPXMDEwvKWIWjaUpBC9fpnDjjafkDhQ0AovpNBRNsVWT3Jkifm6SUrLdYOyw2IrMw=" id="OWAdc218aa7-b75a-3cbf-c7d6-913b37b60bb9" class="x_x_x_x_x_x_x_x_ContentPasted0 x_x_x_x_x_x_x_x_OWAAutoLink" shash="QljnaYwaFfMDs/RfPMG0kFakAaWdYvgfNTQrMv7j0x3sGNfzH+PLj+lWYf2HaCAXRxCujgAp7MxcAYPxF5ARUUzcNuRkzfe/uHlxVDKaY8/XHIgtYl3I1alRDyOCSHYzx7ntpCMIJOY8M4Nb6KOkrnIny5JcqBm+JbHibXUXC8w=" originalsrc="https://www.instagram.com/letterenhuis/" data-auth="Verified" data-safelink="true" data-linkindex="3" data-loopstyle="linkonly" style="margin:0px; color:rgb(77,77,77)">
instagram</a> | <a href="https://www.facebook.com/Letterenhuis" originalsrc="https://www.facebook.com/Letterenhuis" shash="yJoVWcRKZR5L/Tl0SGi0qbZXz6zw4McF3dW54PVfr9V+4txdcJqWL76c440Ahwu/zzT6NOWt4zBohqEvDSTsBQOKQHwHKaFPQ44/EuC6DAkpqNHtXRcl7sfvvf8Ad6y5VrAi1ieZuWRidU5GvwSKBiUOjwHysh0NNThEyQ5t+To=" originalsrc="https://www.facebook.com/Letterenhuis" shash="NJxL/Oa53bdcXxaeO/NACpCPUgmgws6eLD/JYUkLFa624eCcKA0++BtHFbbl4j3QjLf7yVdHbUdZyGMW5gizxj8Vc8hv2v2gjbSJ5MUNupmCduduzLz0gTldfdxCpv4qnKPt1CikvDXdRnJ7KUv/bKD3vVheIP4CquzAOiaF+9A=" id="OWA8b74a776-72de-83e6-77a3-f687b475b34a" class="x_x_x_x_x_x_x_x_ContentPasted0 x_x_x_x_x_x_x_x_OWAAutoLink" shash="Vv+ly/YPp+bMb130J/MGJnBQPCXlnla0800H726ydOZmZLs7XSfXXUjw+CMcLLamhEHZs1KAsFj5N3EbhT1P45uVuwJ5JQxTLXe7EF6prT3ZZwDWOhiVViSHEEc1xJic2olpI4dTS0aMdHhQ3EnJJTLRWbG/qHXaJQnwqv6RGaI=" originalsrc="https://www.facebook.com/Letterenhuis" data-auth="Verified" data-safelink="true" data-linkindex="4" data-loopstyle="linkonly" style="margin:0px; color:rgb(77,77,77)">
facebook</a></span></p>
<p style="text-align:left; line-height:18.3333px; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:9pt; line-height:15px; color:rgb(77,77,77)"> </span></p>
<p style="text-align:left; line-height:18.3333px; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:7pt; line-height:11.6667px; color:rgb(77,77,77)"><b>Proclaimer</b></span></p>
<p style="text-align:left; line-height:18.3333px; margin:0px; font-family:Calibri,sans-serif; font-size:11pt; background-color:rgb(255,255,255)">
<span style="font-family:Arial,sans-serif,serif,EmojiFont; font-size:7pt; line-height:11.6667px; color:rgb(77,77,77)">Vergissen is menselijk. Dus als deze e-mail, samen met eventuele bijlagen, niet voor u bestemd is, vragen we u vriendelijk om dat te melden
aan de afzender. Deze e-mail en de bijlagen zijn namelijk officiële documenten van de stad Antwerpen. Ze kunnen vertrouwelijke of persoonlijke informatie bevatten. Als stad nemen we privacy heel serieus en willen we als een goede huisvader waken over de vertrouwelijkheid
van documenten. Als u dit bericht per vergissing hebt ontvangen of ergens hebt gevonden, wees dan zo eerlijk om het meteen te verwijderen en het niet verder te verspreiden of te kopiëren.</span></p>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)"><br>
</span></div>
</div>
</div>
</body>
</html>