Add code-snippet to footer per website language
-
Hello
I have a case, when I need to show a javascript code snipped depending on the website language.
F.e. I have /de/ and /en/ added to the website URL, when language switches.
I need one snippet loaded for de and another one for en.
Is it possible?
The language switch is implemented using plugin:
WPML Multilingual CMS
Maybe I can write a custom JS, that will observe URL change, and dynamiclaly insert another js src based on the language?
Any other way?
Best,
Oleg
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add code-snippet to footer per website language’ is closed to new replies.