function getLocalizedPageHeaderTitle()
{
$titleArray = $this->getSetting('name');
$title = null;
foreach (array(AppLocale::getLocale(), AppLocale::getPrimaryLocale()) as $locale) {
if (isset($titleArray[$locale])) {
return $titleArray[$locale];
}
}
return null;
}