Support for multiple languages in custom consent form


In order to have custom consent type, I am using Tag manager on a multilanguage website.
How can i manage the translation and how can i load the langage related to the website’s language ?



consent popups for different language versions can be adjusted in Consent Manager module directly:

When it comes to loading language, by default it’s based on user’s browser language.

Yes i know but i am talking about Tag manager with custom content and not Consent Manager
Consent informations are in Tag code

Could you share an example?

Here is my custom code.

Ok, now I get it. Our examples don’t include support for multiple languages. I’m afraid I can’t help you. I’ll provide the feedback to the product team though to extend the examples a bit in the future.