i work with polylang and all translations works, but only one button not. look here:
the button “Settings” were not translated….
Hey Christian,
Thank you for the inquiry.
You may need to edit the privacy button and add a dedicated text for each language.
Example:
<span class="en">Settings</span><span class="de">Einstellungen</span>
We can then use the following css code to show the appropriate text for the active language.
.responsive #top .avia-cookie-consent-button-3 span {
display: none;
}
html[lang="de-DE"] #top .avia-cookie-consent-button-3 .de {
display: block;
}
html[lang="en-EN"] #top .avia-cookie-consent-button-3 .en {
display: block;
}
If DE is active for example, the span tag with the class name de will display.
Best regards,
Ismael
ok. Thanks! That works. You can close it.
Hi caw67,
I’m glad that Ismael could help you :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko