Skip to the content
Documentation

fetching the right language

No ratings yet

Hi,
Default language code is english ;
My language code is "fre-FR" (only for my siteaccess front-office) ;
I'm in the pagelayout.tpl, for the french siteaccess ;
I fetches the current node (instead of $node that is not defined in the pagelayout) to $currentNode ;
Now, if I write : $currentNode.object|attribute, I retrieves the fre-FR version,
BUT if I write $currentNode.object.data_map|attribute, I retrieves the english version...
Finally, I can't have the french version of an attribute !
Is it a bug (ez 3.8) ?