Comment 8 for bug 1078596

Revision history for this message
Dan Scott (denials) wrote :

Pasi: thanks very much for the patch!

I have tested it, and found that out of the box the Apache configuration that controls which language the fm_IDL.xml is displayed in is badly broken. So I pushed an extra commit to http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbs/lp1078596_fmidl_i18n to fix the out-of-the-box Apache configuration.

Testers of this commit need to build a locale other than en-US (say xx-YY), ensure that /openils/var/web/opac/locale/xx-YY/fm_IDL.dtd exists, then view the contents of fm_IDL.xml via curl to see if the translated strings show up:

# English
 curl -H "Accept-Language:en-US" localhost/reports/fm_IDL.xml

# French
 curl -H "Accept-Language:fr-CA" localhost/reports/fm_IDL.xml

... etc.