aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-questionnaires
diff options
context:
space:
mode:
Diffstat (limited to 'bin/send-questionnaires')
-rwxr-xr-xbin/send-questionnaires6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/send-questionnaires b/bin/send-questionnaires
index fbdf2a08c..f4874b9ac 100755
--- a/bin/send-questionnaires
+++ b/bin/send-questionnaires
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: send-questionnaires,v 1.11 2009-06-10 14:32:37 matthew Exp $
+# $Id: send-questionnaires,v 1.12 2009-06-10 15:04:30 matthew Exp $
use strict;
require 5.8.0;
@@ -45,6 +45,10 @@ $nomail = 1 if (@ARGV==1 && $ARGV[0] eq '--nomail');
$verbose = 1 if (@ARGV==1 && $ARGV[0] eq '--verbose');
$verbose = 1 if $nomail;
+mySociety::Locale::negotiate_language('en-gb,English,en_GB|nb,Norwegian,nb_NO'); # XXX Testing
+mySociety::Locale::gettext_domain('FixMyStreet');
+mySociety::Locale::change();
+
# Select all problems that need a questionnaire email sending
my $unsent = select_all(
"select id, council, category, title, detail, name, email,