I'm working with Sitecore 8 Update 2.
I have extended the default TreelistEx class with my own. I've added a menu item that sends out the following message:
mytreelistex:myadd(id=$Target)
I would like to know what language the item is that the user is currently working on ( so the language of the item that contains this custom field )
I tried adding language=$language
to the message but this just returns as plain text unlike the id=$Target
Does anyone know how i can achieve this ?