[OPEN-ILS-DEV] Evergreen TPAC locale picker

Dan Scott dan at coffeecode.net
Tue Jul 24 11:22:22 EDT 2012


On Tue, Jul 24, 2012 at 02:10:43PM +0000, Duimovich, George wrote:
> Hello all,
> 
> Development of the locale picker in the new TPAC is progressing, as per for example https://bugs.launchpad.net/evergreen/+bug/1025921
> 
> Just for clarification, what would be the recommended way to support a locally modified official translation?
> 
> I suppose we could just overwrite (and/or add) entries in "tpac.fr-CA.po", but any local customizations could be overwritten with each upgrade.
> 
> Is there a similar "local" approach (as per JSPac) that could work where "tpac_local.fr-CA.po" contains just new or locally revised translations, etc. (as enabled in eg_vhost.conf) ?
> 
> E.g.
> 
> PerlAddVar OILSWebLocale "fr_ca"
> PerlAddVar OILSWebLocale "/openils/var/templates/locale/tpac.fr-CA.po"
> PerlAddVar OILSWebLocale "/openils/var/templates/locale/tpac_local.fr-CA.po"
> 
> Is there currently support for locally generated .po enhancements / changes to official translations for the TPAC?

I would suggest going a different route: maintain a git branch with your
own modifications to build/i18n/po/tpac/fr-CA.po, and merge that with
the official translations at upgrade time.


More information about the Open-ils-dev mailing list