<div dir="ltr"><div dir="ltr">That is very mysterious!<div><br></div><div>These steps worked for me to add the 950 db seed in French within a docker container:</div><div><br></div><div><div>docker exec -it [container_name] bash</div><div>cd /home/opensrf/repos/Evergreen</div><div>make -f Open-ILS/src/extras/Makefile.install ubuntu-focal-translator</div><div>su opensrf</div><div>cd build/i18n</div><div>mkdir locale</div><div>make newpot</div><div>make LOCALE=fr-CA updatepo</div><div>exit # go back to root user</div><div>cd /home/opensrf/repos/Evergreen/build/i18n && make LOCALE=fr-CA install</div><div>su evergreen</div><div>psql -f Open-ILS/src/sql/Pg/950.data.seed-values-fr-CA.sql</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 11 ago 2023 a la(s) 05:51, Linda Jansová (<a href="mailto:linda.jansova@gmail.com">linda.jansova@gmail.com</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>Thank you very much, Jane!</div>
<div><br>
</div>
<div>We currently use the dev tag (but we
may also try some other non-dev tags as you have suggested :-);
actually, it seems that the language selector in the OPAC
correctly appears after a couple of reloads, then - for a couple
of other reloads - it disappears only to appear again after some
more reloads ;-).</div>
<div><br>
</div>
<div>It definitely works in mysterious ways
so far; we would probably also need to add the 950 db seed with
French (and Czech) translations. Any ideas how to do this
correctly?</div>
<p>Linda</p>
<div>On 8/11/23 14:25, Jane Sandberg wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi Linda,
<div><br>
</div>
<div>What tag of the Evergreen container are you using?
I believe that the instructions under "Restarting
Evergreen services" are only applicable to the
"dev" tag (i.e. if you ran `docker run
[...] mobiusoffice/evergreen-ils:dev`). If you don't
specify a tag, it defaults to the "latest" tag, which
doesn't contain the file-based restart/recompile
methods.</div>
<div><br>
</div>
<div>I typically use the non-dev tags, using the
following steps to restart apache. Theoretically,
they should work if you are using the dev tag too, but
I haven't tried them:</div>
<div><br>
</div>
<div>1. docker ps # this will show the name of the
running container</div>
<div>2. docker exec -it [container_name] bash # this
will provide a shell within the running container.
For example, if step 1 had mentioned that the running
Evergreen container is named "peaceful_spence", it
would be `docker exec -it peaceful_spence bash`</div>
<div>3. apache2ctl restart # simply restarts apache.
When I need to restart all services, I use
`ansible-playbook
/egconfigs/evergreen_restart_services.yml -e
hosts="127.0.0.1"` instead.</div>
<div><br>
</div>
<div>Hope this helps,</div>
<div><br>
</div>
<div> -Jane</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">El vie, 11 ago 2023 a la(s)
04:28, Linda Jansová via Evergreen-general (<a href="mailto:evergreen-general@list.evergreen-ils.org" target="_blank">evergreen-general@list.evergreen-ils.org</a>)
escribió:<br>
</div>
<blockquote class="gmail_quote">
<div>
<p> </p>
Dear all,
<p>We have just started experimenting with a Docker
container (<a href="https://hub.docker.com/r/mobiusoffice/evergreen-ils" target="_blank">https://hub.docker.com/r/mobiusoffice/evergreen-ils</a>),
mainly to see whether it could help us identify what
causes i18n issues reported in a separate thread (with a
subject "Evergreen 3.11.0a not properly switching into
Czech in the staff client").</p>
<p>At this point we are a bit stuck as we would like to make
appropriate i18n changes to the eg_vhost.conf file and
then make them visible both in the OPAC and in the staff
client.</p>
<p>We have uncommented lines related to French translation
(just to see if it works before we would make a deep dive
into Czech) and restarted Evergreen as described at <a href="https://hub.docker.com/r/mobiusoffice/evergreen-ils" target="_blank">https://hub.docker.com/r/mobiusoffice/evergreen-ils</a>
(under the heading "Restarting Evergreen services") but it
doesn’t seem to change anything in the OPAC.</p>
<p>How exactly should we proceed?</p>
<p>(Maybe a more specific piece of documentation that would
answer our question is available somewhere; in that case,
sharing a URL would be great :-).)</p>
<p>Thank you in advance!</p>
<p>Linda </p>
<p> </p>
</div>
_______________________________________________<br>
Evergreen-general mailing list<br>
<a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
<a href="http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general" rel="noreferrer" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><br>
</blockquote>
</div>
</blockquote>
<p><br>
</p>
</div>
</blockquote></div>