Forums / Developer / Current Language
Peter Scheir
Friday 20 May 2005 5:01:13 am
Hi! Is there a way to get the language which is currently used for rendering the content? I.e. is there a variable I can access in a template which is telling me what language currently is used?
Thank you, Peter
Xavier Dutoit
Friday 20 May 2005 5:14:28 am
Hi,
I think node.object.default_language contains something like that. Could you test and tell us if it works?
Have a look at this spec, might give some ideas on what's cooking at ezlab:http://ez.no/community/developer/specs/improved_content_multilangue_support
As always, {$node|attribute(show,2)} is your friend.
X+
http://www.sydesy.com