[Typo3] Getting locallang labels from Typoscript

Daniel Doesburg typo3 at doesburg.biz
Sun Jul 24 09:58:54 CEST 2005


tapio wrote:
>> As an example I drop here a part of my TS:
>>
>> plugin.tx_arotealoginbox_pi1 {
>>   _LOCAL_LANG.nl {
>>     user = gebruiker
>>     pass = wachtwoord
>>   }
>> }
>>
> I tested that with
> 
> plugin.fdfx_2cols {
>   _LOCAL_LANG.fi {
>     tt_content.tx_fdfx2cols_type.I.0 = Normaali
>   }
> }
> 
> Didn't work!

Of course not. Because tt_content.tx_fdfx2cols_type.I.0 is not a 
locallang entry in this extension.
It's no magic. Only entries in the locallang file(s) can be translated 
that way.

Regards,

Daniel




More information about the TYPO3-english mailing list