<div dir="ltr">Hi,<div><br></div><div>Each supported locale has a special command added to the package.json file.  To compile the cs-CZ:</div><div><br></div><div>$ cd Open-ILS/src/eg2</div><div>$ npm run build-cs-CZ<br></div><div><br></div><div>Each locale also needs its own configuration section in the Apache configuration file /etc/apache2/eg_vhost.conf.  Copy the stock entry for <Directory "/openils/var/web/eg2/en-US"> ... </Directory>, replacing en-US with cs-CZ, and restart/reload apache.</div><div><br></div><div>-b</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 30, 2020 at 2:58 AM Václav Jansa <<a href="mailto:vaclav.jansa@gmail.com">vaclav.jansa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Evergreeners,<br>
<br>
We are now working on update of our production system to version 3.5.1 <br>
and we want to enable Czech localization for all interfaces. OPAC and <br>
classic web staff interface is localized and already switched to the <br>
Czech language. But a directory /openils/var/web/eg2/cs-CZ/ where the <br>
Czech localization of eg2 Angular staff client is expected is missing.<br>
<br>
A XTB file with cs-CZ locales for Angular already exists <br>
(Evergreen-ILS-3.5.1/Open-ILS/src/eg2/src/locale/messages.cs-CZ.xtb) but <br>
the locale is not compiled.<br>
<br>
I am a total newbie in Angular, so I need a little help on how to <br>
compile a fully functional Czech locale from the existing XTB file.<br>
<br>
Thanks for your help in advance!<br>
<br>
Vaclav Jansa<br>
<br>
<br>
_______________________________________________<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>