[TYPO3-core] 0016994: ExtDirect in frontend generates php warnings

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Jan 21 18:58:37 CET 2011


Stefan Galinski schrieb am 21.01.2011 18:34:
> Ernesto Baschny [cron IT] wrote:
> 
>> Shouldn't the caller be able to provide a way to pass a language to the
>> ExtDirect router? Or how would you handle translations of labels / error
>> messages in that environment?
> 
> Hi Ernesto,
> 
> This isn't handled in the moment, but IMHO such a feature needs directly to 
> be implemented inside the eID helper class.

This is implemented there, which is why I asked. :)

  initLanguage($language = 'default') {
 ...

So without parameter it uses "default" (english).

> This patch should just fix the  warning and nothing more.

Agreed that it fixes the warning, but please make a note (issue?) to
support multiple language in ExtDirect routed calls in FE in future
releases (4.6 etc).

Committed the fix to 10219.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list