[TYPO3-dev] language - core API

Steffen Kamper steffen at sk-typo3.de
Thu Aug 9 18:43:38 CEST 2007


"Pierre Rouwens" <pierre_rouwens at dmr.ca> schrieb im Newsbeitrag 
news:mailman.1.1186674869.2722.typo3-dev at lists.netfielders.de...
> Hi there,
>
> I'm looking for the api part that handle localization of records for a BE 
> module ? Do i have to handle this manually 'cause i can't find wich class 
> handle this ?
>
> Thanks a lot
>
> Pierre

sry for beeing too short,
class language is the one, you see the initialisation in template.php, which 
is the basic for each BE module

require_once(PATH_typo3.'sysext/lang/lang.php');
$LANG = t3lib_div::makeInstance('language');
$LANG->init($BE_USER->uc['lang']);

vg  Steffen 






More information about the TYPO3-dev mailing list