[TYPO3-dev] pi_getLL problem with array

Mario Matzulla mario.melanie at arcor.de
Mon Dec 26 18:13:47 CET 2005


Elmar Hinz wrote:
> 
>>>I'm having trouble retrieving a language array like:
>>>
>>>'l_daysofweek_lang' =>
>>>Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'),
>>>
>>>from locallang.
> 
> 
> I don't think that it is possible to get arrays. The translation tables
> are simple hashes. I gues you need to do it single, translate 7 x 1 day,
> 12 x 1 month,   etc.

Hi Elmar.

Well, it works without the last two modifications. So it is possible.
Only: $this->LLtestPrefix.$word; is doing something which screws up
everything.

/Mario

> 
> Elmar
> 
> 
> --
> Climate change 2005: Mexico, Guatemala, New Orleans, Sahel, Bangladesh,
> Spain, Portugal, Austria, Swiss, France, ...
> Production of CO2 is killing people.
> Production of CO2 just for fun is killing people just for fun.
> 




More information about the TYPO3-dev mailing list