Like the AngularJS application, Evergreen releases will come with all web browser staff client code pre-compiled. Admins only need to add an Apache configuration change.
Add the following stanza to /etc/apache2/eg_vhost.conf.
RewriteCond %{REQUEST_URI} ^/eg2/ RewriteCond %{REQUEST_URI} !^/eg2/([a-z]{2}-[A-Z]{2})/ RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L] <Directory "/openils/var/web/eg2/en-US"> FallbackResource /eg2/en-US/index.html </Directory>
For multi-locale sites, see the bottom section of Open-ILS/examples/apache[_24]/eg_vhost.conf.in for a sample fr-CA configuration. The section starts with "/eg2/ client setup and locale configuration"