Hello Bill,

many thanks for this hint. I came back to installation manual and I installed developer additions (step 3.3) and compiled Angular (step 4.2). After it I ran the make install && chown -R again.

It seems, that now is Angular web staff EG2 working with czech localization. Otherwise, I always skip step 4 during installation of production server.

Thanks for adding Angular locales to build script for future production tarbals.


Best regards


Vaclav Jansa




On 30. 10. 20 19:08, Bill Erickson wrote:
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 <[email protected] <mailto:[email protected]>> 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
    [email protected]
    <mailto:[email protected]>
    http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
    <http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general>


_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general

Reply via email to