/** * Gets the locale of this entry * @return string Code of the locale */ public function getLocale() { if (!isset($this->loadedFields['locale'])) { $this->loadProperties(); } return parent::getLocale(); }