summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-08-11 01:58:59 +0200
committergerv%gerv.net <>2002-08-11 01:58:59 +0200
commit8cadcb8c21498f7184879d1c2797ee531ea05c26 (patch)
tree5c6f66a32da57160b98513e9de1e052afd7d1503 /defparams.pl
parenta52f0b4135b629b9651145ad51bc2791b7feaeac (diff)
downloadbugzilla-8cadcb8c21498f7184879d1c2797ee531ea05c26.tar.gz
bugzilla-8cadcb8c21498f7184879d1c2797ee531ea05c26.tar.xz
Bug 126955 - Bugzilla should support translated/localized templates. This patch uses ACCEPT_LANGUAGE to determine which template to use. Patch by burnus; r=gerv.
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl10
1 files changed, 10 insertions, 0 deletions
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",