[TYPO3-english] $GLOBALS['TSFE']->sL('$key') not woking with translations

PIT Solutions typo3 at pitsolutions.com
Thu Jun 20 09:15:50 CEST 2013


One thing I fogot to mentioned. I am using typo3 version 4.7.12 and snowbabel version 3.6.3.
sr_feuser_regsiter version 3.0.1


________________________________
 From: PIT Solutions <typo3 at pitsolutions.com>
To: TYPO3 English <typo3-english at lists.typo3.org> 
Sent: Thursday, June 20, 2013 12:28 PM
Subject: [TYPO3-english] $GLOBALS['TSFE']->sL('$key') not woking with translations
 

Hi All,

I've extended the sr_feuser_register extension using an xclass file. In that file I need a locallang variable from the orginal extension. 
For this I've added a code like this;

$GLOBALS['TSFE']->sL('LLL:EXT:sr_feuser_register/pi1/locallang.xml:v_dear');

This is working fine with default lables. That is only default value is displayed. I've several translated values for the same lable. 
But using the above code, i can't fetch the translated value of that label. 

For translating the values, I am using snowbabel extension.So the translated values taken from the "typo3conf/l10n" folder.

Is anybody know, why its not working with translations ? Please help me,

Thanks in advance,
Arun C
_______________________________________________
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