We assumed only one file per locale, but apache <Location>s because are not independent WRT locale helpers in mod_perl, we need to load all files from all <Location> directives for a given locale.
NOTE: there is a risk of translation collision, where the same key string in two PO files have different translations, but in our context that is almost surely a mistake.
I have a branch for this here:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ miker/lp- 1717777- load-all- PO-files
From the commit message:
We assumed only one file per locale, but apache <Location>s because are not independent WRT locale helpers in mod_perl, we need to load all files from all <Location> directives for a given locale.
NOTE: there is a risk of translation collision, where the same key string in two PO files have different translations, but in our context that is almost surely a mistake.