From: timriker Date: Tue, 22 Jun 2004 18:22:45 +0000 (+0000) Subject: force lang - from [4-tea-2] X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7b8a7998bb4974553af7bfcebe5a6a8741e55a34;p=infobot.git force lang - from [4-tea-2] git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@948 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/babel.pl b/src/Modules/babel.pl index db68adb..98d9ffb 100644 --- a/src/Modules/babel.pl +++ b/src/Modules/babel.pl @@ -72,6 +72,7 @@ sub babelfish { # Accept-Charset: iso-8859-1 # $req->header('Accept-Charset' => 'iso-8859-1'); # print $req->header('Accept-Charset'); + $req->header('Accept-Language' => 'en'); $req->content_type('application/x-www-form-urlencoded'); return translate($phrase, "${from}_${to}", $req, $ua);