I have a section called News with 2 locales: 'en' and 'nl'. For some News items I have both languages switched on and for some only 1 language. The screenshot shows an example of an entry with only 1 language switched on.
Is there a php method to check the Entry object which languages are switch on?
craft()->templates->hook('cp.entries.edit.right-pane', function(&$context) { $locales = $context['enabledLocales']}
Is there another way to get these enabledLocales straight from an entry object?