Check which locales of an Entry are active 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?
After doing a quick search through the Craft app folder I found this method:

craft()-&gt;elements-&gt;getEnabledLocalesForElement($variables['entry']-&gt;id)


You can probably use this and send the EntryModel's id as the parameter