Iubenda - Webflow / multilingual

Hi ! I have an issue

On our weblfow website we manage 3 languages. The translation has been done with Weglot. When we change the language with the weglot widget, I would like that the cookies policy changes at the same time in the correct language.
I have set up everything in iubenda for managing the cookies display, and added the code in the custom code in Webflow for the different languages, but whatever the language I chose on the widget weglot on the website, it is always the last language integrated on the custom code on weblfow that is displayed.
Do you know how to solve this issue ?

Many thanks !