Closed Bug 152556 Opened 23 years ago Closed 23 years ago

Templatisation should honour browser setting

Categories

(Bugzilla :: User Interface, enhancement)

2.16
All
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 126955

People

(Reporter: tganter, Assigned: myk)

Details

Attachments

(1 file)

Bugzilla 2.16 introduced templatisation, and the documentation mentioned that by
providing 'own' templates in a similar directory layout, different languages
could be supported. 

Well, that is not (yet) true. 

The reason for this seems to be the hard-coded template paths in the globals.pl
source file. 

Bugzilla should be improved in a way as to evaluate the accept-language http
request header, see which language templates are available, and then construct
an appropriate template path.
Applying the patch will modify the globals.pl file to evaludate the
accept-language request header and construct a INCLUDE_PATH for the templates
accordingly.
See also bug 126955 ("Bugzilla should support translated/localized templates")
and bug 135604 ("german translation of Bugzilla templates") which depends on the
former.
Darn. 

And I thought I searched thoroughly. 8^(
yup, this is the same thing....

feel free to reupload the patch to the other bug if it does things in a
different way than the one that's there.  End result will likely take the good
stuff from both. :)

*** This bug has been marked as a duplicate of 126955 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: