CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #6895

Translations of Products not working

Added by Christopher Schnell over 3 years ago. Updated over 2 years ago.

Status:New Start date:2010-03-17
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 0

Description

The code to define the users current language inside lib/class.tx_commerce_product.php does not seem to work, but since I do not fully understand the code of the constructor, I am not sure.

Anyway, the $lang_uid passed to the init-method always returns 0 for me. When overwriting the $lang_uid with this code, it works perfectly for me:

$lang_uid=$GLOBALS['TSFE']->sys_language_uid;

Since several more classes use the "not working" way of getting the users language, it would be nice if someone could check how the constructor works and how the passing of the language is done in these classes.

Also available in: Atom PDF