Content-type inside a plugin with localized true throw err

See Is it possible to add i18n locale options in a custom plugin content-types?