[TYPO3-dev] language - core API
Steffen Kamper
steffen at sk-typo3.de
Fri Aug 10 09:29:24 CEST 2007
Hi,.
look in cms/web_info/class.tx_cms_webinfo_lang.php, this is already done
there.
vg Steffen
"Pierre Rouwens" <pierre_rouwens at dmr.ca> schrieb im Newsbeitrag
news:mailman.1.1186685478.31435.typo3-dev at lists.netfielders.de...
> Hi Steffen,
>
> First thanks for your quick answer :)
> In fact, i'm not lloking for the way TYPO3 handle localization in the BE
> view (i wanna see it in english or in german) but the way it handles the
> record localization.
> To explain a little more :
> I have let's say 'example' record, in list mode i can translate it
> clicking on the english flag. this is the part i'm talking about. How to
> show which record is translated and give a link to translate it if not
> already.
>
> Thanks
>
> Pierre
>
> Steffen Kamper a écrit :
>> "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