[TYPO3-english] read locallang in typoscript
Søren Malling
soren.malling at gmail.com
Thu May 26 14:15:08 CEST 2011
Hi Christian,
The tsref is your friend in this case
http://wiki.typo3.org/TSref/getText#LLL:.3Cpath.3E
HTH,
Søren Malling
TYPO3 Brugergruppe Danmark: www.typo3danmark.dk
Twitter: twitter.com/sorenmalling
On Thu, May 26, 2011 at 1:48 PM, Christian Baer <chr.baer at googlemail.com> wrote:
> Hey everyone,
>
> in typoscript I'm trying to fetch labels from my locallang.xml, does anyone
> know the correct syntax? I tried something like this:
>
> text_from_xml_1st_try =
> LLL:EXT:extenstionname/Resources/Private/Language/locallang.xml:label_listwidget_headline_default
>
> text_from_xml_2nd_try =
> module.extenstionname._LOCAL_LANG.default.label_listwidget_headline_default
>
>
> But nothing works out :( any hints?
>
>
> Cheers
> Christian Baer
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list