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

Markus Klein klein.t3 at mfc-linz.at
Thu Jun 20 09:59:13 CEST 2013


Hi!

I've no idea how snowbabel fetches translations, but maybe [1] hits you.

[1] http://forge.typo3.org/issues/34728


Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of PIT Solutions
> Sent: Thursday, June 20, 2013 9:16 AM
> To: TYPO3 English
> Subject: Re: [TYPO3-english] $GLOBALS['TSFE']->sL('$key') not woking with
> translations
> 
> 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




More information about the TYPO3-english mailing list