How to override plugin translations?

Hello there!

I am trying to override “strapi-plugin-content-type-builder” translation files without modifying node_modules folder.

And for that, I have created “\extensions\strapi-plugin-content-type-builder\admin\src\translations” directory and added the modified language files in it in json format, also made an index.js like this one:

import en from './en.json';
import tr from './tr.json';

const trads = {

export default trads;

But it didn’t work. I still see the original translations that was is the json files in “node_modules\strapi-plugin-content-type-builder\admin\src\translations”

How can I override the original json files with the new ones? Thanks.

So anyone?


As soon as you want to extend an existing plugin you have to create a folder in the extensions folder. This folder should be named by the plugin ID: Strapi plugins - Strapi Developer Documentation

In your case I think that the strapi-plugin-content-type-builder ID is content-type-builder

1 Like

It worked! Thank you.

1 Like

Can you check the answer as a solution in order to help other people who have this kind of “issue” :wink: