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

Elijah Alcantara elijah.alcantara at gmail.com
Wed Dec 7 07:57:39 CET 2005


> No, because it must be PHP file with correct language array inside.

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.




More information about the TYPO3-dev mailing list