Jump to content

Include custom.js only on specific langauge


Recommended Posts

Hi,

for Trusted Shops I am forced  to have the Trused-Widget JS Code only loaded for english language. For now I have it in my custom theme in the custom.js file.
Is there a possibility to only load the javascript code when the shop is on english language?

Like can I query the currently set language with javascript?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...