IDL2js needs locale support
Bug #1171875 reported by
Bill Erickson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.2 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.3 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.4 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen 2.2+. For reference see bug #1078596 and bug #1155611.
Many staff client UIs load the IDL via /IDL2js (mod_perl at OpenILS:
tags: | added: i18n staffclient |
Changed in evergreen: | |
status: | New → Triaged |
tags: | added: pullrequest |
tags: | added: signedoff |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.