[Typo3-dev] Using _LOCAL_LANG to override text from a typoscript wrap?

Dmitry Dulepov typo3 at fm-world.ru
Wed Dec 7 08:22:03 CET 2005


Hi!

Elijah Alcantara wrote:
> ok, I used locallang.php instead:
> $LOCAL_LANG = Array (
>         'default' => Array (
>                 'Email_Hosts' => 'Email Hosts',
>                 'Options' => 'Options',
>                 'Delete_Messages' => 'Delete Messages',
>                 'Fetch_Unread' => 'Fetch Unread',
>                 'Update' => 'Update',
>                 'Updated_Preferences' => 'Updated Preferences',
>                 'Threshold' => 'Threshold',
>         ),
>         'dk' => Array (
> ...
> ...
> ...
> 
> on static/setup.txt:
>         39 = TEXT
>         39.data = LLL:EXT:/spin_preferences/pi1/locallang.php:Threshold
> 
> After making the changes, clearing cache, etc. I thought that would
> work ... but didn't =( the page.39 outputted nothing.

Use { } instead of ( ).

Dmitry.




More information about the TYPO3-dev mailing list