Get CP's current selected locale Is there an easier way to get the CP's currently selected locale? In my plugin I am currently using this method.

public function getCurrentLocale() {
    $id = is_array($this-&gt;value) ? $this-&gt;value[0] : false;
    $segments = craft()-&gt;request-&gt;segments;
    $lastSegment = end($segments);
    $locales = craft()-&gt;elements-&gt;getEnabledLocalesForElement($id);

    if (in_array($lastSegment, $locales)) {
        return $lastSegment;
    }

    return null;
}
I assume this is in the context of an event, in which case you've got access to the EntryModel.

If so, $entryModel-&gt;locale should be what you're looking for.