public function lang($config)
{
$lang = new Element\Select('lang');
$lang->setAttribute('size', 10)->setValueOptions($config['locales'])->setValue('en_GB')->setAttribute('class', 'form-control');
$inputFilter = $this->getInputFilter();
$inputFilter->add(array('name' => 'lang', 'required' => true, 'validators' => array(array('name' => 'not_empty'))), 'lang');
$this->add($lang);
}