Skip to content
Advertisement

how to fix Uncaught SyntaxError: Identifier ‘translate’ has already been declared

i can’t find solution for this bug i wrok on site web multi language but i can’t don’t know how to fix this bug

JavaScript

this bug

code Html and link i need to change

JavaScript

and this code language

JavaScript

Advertisement

Answer

This variable has probably already been declared. Check this js file and the others the page references.

If there are many you can try to change the name of this class.

Advertisement