[TYPO3] Columns titles encoding

Fearless Goblin v-tyok at mail.ru
Mon Aug 25 17:45:30 CEST 2008


Hello Andreas,

> t3lib_extMgm::addPageTSConfig('mod.SHARED.colPos_list = 0,2,3,4,1,5');
> $TCA["tt_content"]["columns"]["colPos"]["config"]["items"] = array
>    (
>      "1" => array ("Header||Header||||||||","1"),
>      "2" => array ("Links||Links||||||||","2"),
>      "0" => array ("Mitte||Mitte||||||||","0"),
>      "3" => array ("Rechts||Rechts||||||||","3"),
>      "4" => array ("Border||Border||||||||","4"),
>      "5" => array ("Footer||Footer||||||||","5")
>    );

Cool! Thank you! It really works and non-latin characters are
displaying the way they should.

But I cann't understand, how TYPO "knows", which part of string in array
refers to which language?
For example, where I can define, some kind of this:
russian|english|german|some_another_language||||||||
Now I have such setting:
"1" => array ("Лево верх|Left|||||||||","1"),
"0" => array ("Право|Normal|||||||||","0"),
"3" => array ("Лево низ|Border|||||||||","3"),
And the first russian part displays everytime, and it doesn't care,
which language BE user has at his settings.



More information about the TYPO3-english mailing list