From 184ed2efe2258579c886de337446fcbb05f5faf4 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Wed, 7 May 2014 17:27:05 +0200 Subject: Declare content language for proper text-to-speech support --- program/include/rcmail_output_html.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'program/include') diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index a57165f03..ff660a4df 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -1332,6 +1332,15 @@ EOF; $this->pagetitle = 'Roundcube Mail'; } + // declare page language + if (!empty($_SESSION['language'])) { + $lang = substr($_SESSION['language'], 0, 2); + $output = preg_replace('/pagetitle); $page_header = ''; -- cgit v1.2.3