Faq Can i have multiple instances of the translator module on the same page?
Can i have multiple instances of the translator module on the same page?

Yes it's possible to have multiple instances of the translator module on the same page, but they must be of the same type. It's not possible to have 2 different types of translator on the same page, such as a dropdown type and a flags type, but it's possible to repeat the same type on multiple modules.


To achieve this result follow these steps:

1. Create 2 modules of type 'Custom': gptranslate modules

2. Using the raw HTML editor mode, add an HTML element such as a 'div' with a 'class' of your choice for each module, for example 'translators': gptranslate modules custom

3. In the GPTranslate configuration choose the 'Inline' position and in the 'CSS selector of the wrapper element' add the correct value to match the chosen class name of the element added to the modules: gptranslate modules config

4. In the frontend 2 modules will be displayed based on the template position and assignment of each module including a translator acting independently of each other: gptranslate modules frontend