How to override plugin translations?

Hi,

I’m using latest version of Strapi v4.1.11 and created following structure of content-type-builder extension:

Screenshot from 2022-05-16 09-51-25

pl.json:

{
  "plugin.name": "Modelowanie danych"
}

index.js:

import pl from './pl.json';

const trads = {
  pl,
};

export const languageNativeNames = {
  pl: 'Polski',
};

export default trads;

It still doesn’t override translation, even though I have content-type-builder directory name. I tried it with different keys in json, and it doesn’t work as well.

Did the override system changed in the newest version or am I doing something wrong? Thanks

1 Like