added 'getlang' command, that returns the language of a term or post as
slug - possible since polylang 1.5.4 whcih added this to the api