Forums / Developer / Embedded object translation problem
Lo' F.
Wednesday 17 November 2010 2:20:35 pm
Hi!
I have a frontpage object embedded inside another frontpage.
Added a new translation for this included object, but when browsing the page in another language, the main frontpage is right in the current language version while this embedded object keeps having the original language. A translated version of an object should not be taken automatically?
Launching $object|attribute(show), I get this outcome
?!
loredanaebook.it
Wednesday 17 November 2010 3:38:51 pm
..Oh, leave it..!
The problem was that in the template line.tpl the name of the object, which is actually the only part being showed inside the frontpage. was recalled in this way..
{$object.main_node.name}
which obviously refers to its original version name, instead of this other way...
{$object.name}