private function scanContenttypeFields() { foreach ($this->app['config']->get('contenttypes') as $contenttype) { foreach ($contenttype['fields'] as $fkey => $field) { if ($field['label'] !== '') { $this->addTranslatable($field['label']); } else { $this->addTranslatable(ucfirst($fkey)); } } } }