Project

General

Profile

Feature #19495 » locallang.diff

Administrator Admin, 2008-10-22 13:51

View differences:

t3lib/class.t3lib_div.php (copie de travail)
// this needs to be done for a few accented loan words and extension names
// NOTE: no conversion is done when in UTF-8 mode!
if (is_array($LOCAL_LANG['default']) && $targetCharset != 'utf-8') {
foreach ($LOCAL_LANG['default'] as &$labelValue) {
$labelValue = $csConvObj->utf8_decode($labelValue, $targetCharset);
foreach ($LOCAL_LANG['default'] as $k => $labelValue) {
$LOCAL_LANG['default'][$k] = $csConvObj->utf8_decode($labelValue, $targetCharset);
}
}
// converting other languages to their "native" charsets
// NOTE: no conversion is done when in UTF-8 mode!
if ($langKey!='default') {
(1-1/2)