I18 strapi internationalization

System Information
  • Strapi Version: 4.3.6
  • Operating System: windows
  • Database: postgresql
  • Node Version: 16.14
  • NPM Version: 8.5.0
  • Yarn Version: 1.22.18

Hello, I was trying to use I18 plugin in a project, I am able to fetch data in multi language using rest api i.e “/api/document?populate=*?localize=de”, but i want to perform crud operation on data in multiple languages using localization and strapi query engine,

async getUserDraftsById({ request, response }) {
        const { params: { id } } = request;
        try {
            const draft = await strapi.db.query('api::draft.draft').findMany({
                where: { user_id: id,
                     locale: 'de'
                     },
                
            });
            console.log('user draft', draft);
            return response.send({ draft, success: true });

        }
        catch (err) {
            console.log('getUserDraft api crashed: ', err);
            return response.send({ success: false, err }, 400)
        }
    },

is there any way to do that?, any help would be really appriciated