TPAC: Standardize i18n file installation
authorDan Scott <dscott@laurentian.ca>
Mon, 20 Aug 2012 18:11:50 +0000 (14:11 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 21 Aug 2012 14:00:42 +0000 (10:00 -0400)
commiteb11f49633f496ef59f4b50d224cc79256d94e42
treee296cb1202f8a18d0ea6dbbab1f1a29f5ae42730
parentb90e617c6896a7a5f0e922b5206f2dcf2d383de6
TPAC: Standardize i18n file installation

Make TPAC i18n files act like any other i18n file. In short:

1. When in build/i18n, a 'make LOCALE=fr-CA install' will copy
   the i18n file into the Open-ILS/src/data/locale directory.
2. In the build root, a 'make install' will copy all files from
   Open-ILS/src/data/locale into (by default) the
   /openils/var/data/locale directory.

This also means that when tarballs are created, all of the locales will
get packaged appropriately.

This commit also updates eg_vhost.conf to provide working out-of-the-box
examples for any installed locales, by using the names of the actual
PO files, and adds some contextual comments to explain how the
configuration directives work.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/src/Makefile.am
build/i18n/Makefile