BUG: with the enforcement of allowed_actions in 3.2 getLocaleForObject was being blocked
Update LanguageDropdownField.php

BUG: Corrected allowed_actions to be private not public
Merge pull request #120 from silverstripe-rebelalliance/esr

BUG: with the enforcement of allowed_actions in 3.2 getLocaleForObject is blocked
ENHANCEMENT: significant speed improvement for many locales

Iterating over an array of locales and querying for each one causes tons
of unnecessary queries. This is especially evident when you get up to
hundreds of translations of a page. It makes the CMS admin UI insufferably
slow.  This is a little tweak to query for all of them at once instead of
individually.