Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.9.2
-
None
Description
When accessing the name of an object or a node in a template using {$object.name} and {$node.name} respectively, the name returned is in the original language, and not the language of the current site access. This causes all kinds of problems, for instance in the basket where item names are not translated.
I assume the reason is because the name is fetched from the ezcontentobject table instead of the version corresponding with the correct language. However, this makes it useless for multilingual sites. Either the correct language version should be fetched, or all eZ Publish templates using $object.name/$node.name should be changed.
Please mark this bug as severe.
Attachments
Issue Links
- is duplicated by
-
EZP-11586 eZContentObject::fetch() does not respect prioritized language for the "name" attribute
- Closed
-
EZP-9866 object.main_node.name does not work properly with secondary languages
- Closed
-
EZP-12376 Object name not translated for "object relations" attributes
- Closed
-
EZP-12642 highlighted object shows whong title in multilanguge site
- Closed
-
EZP-12652 embedde folder name not translated
- Closed
- relates to
-
EZP-14840 Translation of the object-relation datatype
- Closed