public function getCurrentLocale()
{
if (!is_null($this->currentLocale)) {
return $this->currentLocale;
}
if ($this->useAcceptLanguageHeader()) {
return $this->negotiateLocale();
}
// Get application default language
return $this->getDefaultLocale();
}