Actions
Feature #14173
closedremove dependency on static_info_tables for $GLOBALS['TSFE']->sys_language_uid
Start date:
2004-05-17
Due date:
% Done:
0%
Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:
Description
The dependency is a) unnecssary and has b) a rather highy performance penalty by using an additional SQL query.
I suggest adding a Typo3-to -iso mapping to the Core, probably in t3lib_cs:
var $isoCodeArray = array(
'dk' => 'da',
'de' => '',
'no' => '',
'it' => '',
'fr' => '',
'es' => '',
'nl' => '',
'cz' => 'cs',
'pl' => ',
'si' => 'sl',
'fi' => '',
'tr' => '',
'se' => 'sv',
'pt' => '',
'ru' => '',
'ro' => ',
'ch' => 'zh-Hans,
'sk' => '',
'lt' => '',
'is' => '',
'hr' => '',
'hu' => '',
'gl' => '',
'th' => '',
'gr' => '',
'hk' => 'zh-Hant',
'eu' => '',
'bg' => '',
'br' => 'pt-br',
'et' => '',
'ar' => '',
'he' => ,
'ua' => 'uk',
);
The current static_info_tables is broken anyway, because eg Brazialian Prortuguese is mapped to pt instead of pt-br.
(issue imported from #M101)
Actions