protected function prepareListLanguage(array &$list)
    {
        foreach ($list as $id => &$item) {
            $item['file_exists'] = is_file($this->translation->getFile($id));
        }
    }
protected function prepareListLanguage(array &$list)
    {
        foreach ($list as $id => &$item) {
            $item['file_exists'] = is_file($this->translation->getFile($id));
        }
    }
protected function prepareListLanguage ( array & $ list ) { foreach ( $ list as $ id => & $ item ) { $ item [ 'file_exists' ] = is_file ( $ this -> translation -> getFile ( $ id ) ) ; } }
Prepare an array of languages
@param array $list
Prepare an array of languages