Index: t3lib/class.t3lib_pagerenderer.php =================================================================== --- t3lib/class.t3lib_pagerenderer.php (revision 6566) +++ t3lib/class.t3lib_pagerenderer.php (working copy) @@ -203,6 +203,16 @@ } /** + * Sets language + * @return void + * + * @param string $lang used language + */ + public function setLanguage($lang) { + $this->lang = $lang; + } + + /** * Sets html tag * * @param string $htmlTag html tag @@ -365,6 +375,15 @@ } /** + * Gets the language + * + * @return string $lang + */ + public function getLanguage() { + return $this->lang; + } + + /** * Gets html tag * * @return string $htmlTag html tag Index: typo3/sysext/cms/tslib/class.tslib_fe.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_fe.php (revision 6566) +++ typo3/sysext/cms/tslib/class.tslib_fe.php (working copy) @@ -4738,6 +4738,7 @@ // Setting language key and split index: $this->lang = $this->config['config']['language'] ? $this->config['config']['language'] : 'default'; + $this->getPageRenderer()->setLanguage($this->lang); $ls = explode('|',TYPO3_languages); while(list($i,$v)=each($ls)) { Index: typo3/template.php =================================================================== --- typo3/template.php (revision 6566) +++ typo3/template.php (working copy) @@ -285,6 +285,7 @@ $this->pageRenderer->setTemplateFile( TYPO3_mainDir . 'templates/template_page_backend.html' ); + $this->pageRenderer->setLanguage($GLOBALS['LANG']->lang); } return $this->pageRenderer; }