Comment 1 for bug 1171875

Revision history for this message
Bill Erickson (berick) wrote :

I've pushed code to working/user/berick/lp1171875-IDL2js-locale-support

It adds support for loading a locale-aware fm_IDL.xml from /reports/fm_IDL.xml from within IDL2js.pm. It does this with an Apache subrequest. Results for full-IDL lookups are cached. Partial lookups are still/also supported, but not cached.

I have not tested this in conjunction with the staff client. If the client passes a valid Accept-Language header, it should all just work. In cases where it does not, we will either have to fix the header or pass a locale= CGI param directly in the HTML that loads IDL2js.

Note that a minor Apache configuration change is required. Testing appreciated. Will test more as I can.