GTranslate dropdown breaks on Salient theme – PHP 8.2
-
Hello,
We are using the dropdown widget look, and would like to continue to use the dropdown.
In version 2.9.15 of the GTranslate plugin, when the Salient theme converts all select elements to Select2 components, the translation dropdown continues to work as expected: When you select a different language, the page is translated. However, on the latest version – version 3.0.4 – after the Salient theme has converted the translation dropdown to Select, it no longer works: When you change languages, nothing happens. We cannot find any errors in the browser console or in the server logs.
We also cannot find any filters or actions within the GTranslate plugin that either allow us to add a special class name to the select element of the translation dropdown so that Select2 bypasses it or that allows us to enqueue the translation dropdown code after Select2 runs. We tried adding the special class name in the GTranslate settings but this only adds to the wrapper, which Select2 ignores.
Hoping you can assist with resolving this error.
- The topic ‘GTranslate dropdown breaks on Salient theme – PHP 8.2’ is closed to new replies.