# Returns the path to the templates based on the Accept-Language# settings of the user and of the available languages# If no Accept-Language is present it uses the defined default# Templates may also be found in the extensions/ treesub getTemplateIncludePath { my$cache = Bugzilla->request_cache; my$lang = $cache->{'language'} || ''; $cache->{"template_include_path_$lang"} ||= template_include_path({ use_languages => Bugzilla->languages, only_language => $lang }); return$cache->{"template_include_path_$lang"};}