[TYPO3-dam-devel] RFC #6906: use BE-USER language in selectioncategory

Francois Suter fsuter at cobweb.ch
Sat Sep 27 20:28:51 CEST 2008


Hi,

Forwarding Masi's message, so that it does not get lost:

> Dam looks only to the default language selected in the user record 
> ($GLOBALS['BE_USER']->user['lang']) and ignors the settings in uc 
> ($GLOBALS['BE_USER']->uc['lang']).

$GLOBALS['BE_USER']->user['lang'] comes probably from the user record
which only holds the DEFAULT language for the first login.
$GLOBALS['BE_USER']->uc['lang'] reflects the current user settings.

But why don't you access the BE language via $LANG->lang? This is how
any BE module should determine the language of the BE session.

Masi

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-dam mailing list