How to override plugin translations?

For strapi@4.x, you can override it like this. Then run npm run build before you run npm run develop

const config = {
    locales: [
      'en',
      'zh-Hans',
      'zh',
    ],
    translations: {
      'zh-Hans': {
        "content-type-builder.plugin.name": "类型创建器",
      },
    },
  };
  
  const bootstrap = (app) => {
    console.log(app);
  };
  
  export default {
    config,
    bootstrap,
  };
  

Refer to this doc: https://docs.strapi.io/dev-docs/admin-panel-customization#locales