fix issues when generating a content type (localized was missing) and bootstrap / foundation sites