[Evergreen-general] How to add/compile Czech localization to Angular part of a web staff client?
Bill Erickson
berickxx at gmail.com
Fri Oct 30 14:08:14 EDT 2020
Hi,
Each supported locale has a special command added to the package.json
file. To compile the cs-CZ:
$ cd Open-ILS/src/eg2
$ npm run build-cs-CZ
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.
-b
On Fri, Oct 30, 2020 at 2:58 AM Václav Jansa <vaclav.jansa at gmail.com> wrote:
> Hello Evergreeners,
>
> We are now working on update of our production system to version 3.5.1
> and we want to enable Czech localization for all interfaces. OPAC and
> classic web staff interface is localized and already switched to the
> Czech language. But a directory /openils/var/web/eg2/cs-CZ/ where the
> Czech localization of eg2 Angular staff client is expected is missing.
>
> A XTB file with cs-CZ locales for Angular already exists
> (Evergreen-ILS-3.5.1/Open-ILS/src/eg2/src/locale/messages.cs-CZ.xtb) but
> the locale is not compiled.
>
> I am a total newbie in Angular, so I need a little help on how to
> compile a fully functional Czech locale from the existing XTB file.
>
> Thanks for your help in advance!
>
> Vaclav Jansa
>
>
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20201030/11ee588d/attachment.html>
More information about the Evergreen-general
mailing list