[TYPO3-ect] lib/div SVN: problems with german umlauts in locallang.xml - can't find the reason
Fabien Udriot
fudriot at omic.ch
Thu Dec 20 22:20:54 CET 2007
Hi,
I have met the same problem for the French language. I've noticed that
the words with accents in the "default" section of localconf.xml are not
outputed correctly.
However, in the "fr" section (or "de") the final render is correct. To
solve my problem I added :
$translator->altLLkey = 'fr';
my final code looks like this :
$translator = $this->makeInstance('tx_lib_translator', $view);
$translator->altLLkey = $this->configurations['lang'];
return $translator->translateContent();
Before I resolved my problem, I also played with :
/*
$csConvObj = &$GLOBALS['TSFE']->csConvObj;
$csConvObj->charSetArray['de'] = 'utf-8';
$csConvObj->charSetArray['en'] = 'utf-8';
$csConvObj->charSetArray['fr'] = 'utf-8'; # or iso-8859-1
$csConvObj->charSetArray['default'] = 'utf-8';
*/
cheers,
Fabien
Franz Koch a écrit :
> Hi Steffen,
>
>> do you use umlauts in default section? This causes errors, default section
>> is not allowed to have special chars, any other section is.
>
> unfortunately that's not the problem. Any other ideas?
>
> --
> Greetings,
> Franz
More information about the TYPO3-team-extension-coordination
mailing list