diff --git a/lam/lib/config.inc b/lam/lib/config.inc index 3fcf0925..e611749d 100644 --- a/lam/lib/config.inc +++ b/lam/lib/config.inc @@ -45,6 +45,7 @@ function setlanguage() { $locdir = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/locale"; // set path to translations bindtextdomain("messages", $locdir); textdomain("messages"); + header("Content-type: text/html; charset=" . $language[1], true); } else echo _("Language not defined in session!"); }