Javi
Javi

Reputation: 11

Magento Translate is not defined

I'm getting this error in the site and is messing up my css and some of my js files.

Uncaught ReferenceError: Translate is not defined

Any ideas?

Upvotes: 1

Views: 2750

Answers (1)

elfling
elfling

Reputation: 835

In your page.xml file in the layout directory you are missing the translate.js file

<action method="addJs"><script>mage/translate.js</script></action>

Upvotes: 2

Related Questions