From 8cadcb8c21498f7184879d1c2797ee531ea05c26 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sat, 10 Aug 2002 23:58:59 +0000 Subject: Bug 126955 - Bugzilla should support translated/localized templates. This patch uses ACCEPT_LANGUAGE to determine which template to use. Patch by burnus; r=gerv. --- defparams.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'defparams.pl') diff --git a/defparams.pl b/defparams.pl index 45e67d532..3e3fd441d 100644 --- a/defparams.pl +++ b/defparams.pl @@ -139,6 +139,16 @@ sub check_urlbase { return ""; } +DefParam("languages", + "A comma-separated list of RFC 1766 language tags. These identify the languages in which you wish Bugzilla output to be displayed. Note that you must install the appropriate language pack before adding a language to this Param. The language used is the one in this list with the highest q-value in the user's Accept-Language header.", + "t", + "en"); + +DefParam("defaultlanguage", + "The UI language Bugzilla falls back on if no suitable language is found in the user's Accept-Language header.", + "t", + "en"); + DefParam("cookiepath", "Directory path under your document root that holds your Bugzilla installation. Make sure to begin with a /.", "t", -- cgit v1.2.3-24-g4f1b