my $aux_parms = wloh_common::get_auxillary_parameters($dbh, $locale);
-POSIX::setlocale(&POSIX::LC_ALL, 'nb_NO.UTF-8');
+wloh_common::set_locale($locale);
my $season = wloh_common::get_max_season($dbh, $locale);
}
print CGI->header(-type=>'text/html; charset=utf-8', -expires=>'+5m');
-wloh_common::process_template('rating.xml', {
+wloh_common::process_template('rating', $locale, {
'#navbar' => wloh_common::get_navbar($cgi, $dbh, $locale),
'iterations' => $aux_parms->{'num_iterations'},
'rating-prior-stddev' => sprintf("%.1f", $aux_parms->{'rating_prior_stddev'}),