Title: Javascript error on machine translation
Last modified: January 23, 2021

---

# Javascript error on machine translation

 *  Resolved [whtadmin](https://wordpress.org/support/users/whtadmin/)
 * (@whtadmin)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-on-machine-translation/)
 * HI I have a weird one:
 * We are testing TranslatePress for a client’s site and we have run into an issue
   on one page. In english the page and the directory on it shows fine, but when
   it switches to Spanish, the directory disappears and we get a javascript error
   message:
 * ReferenceError: ListingType is not defined
    at eval (eval at Ya (vue.min.js?ver
   =2.6.11:6), <anonymous>:3:1002) at wn.vt [as _l] (vue.min.js?ver=2.6.11:6) at
   wn.eval (eval at Ya (vue.min.js?ver=2.6.11:6), <anonymous>:3:725) at wn.e._render(
   vue.min.js?ver=2.6.11:6) at wn.r (vue.min.js?ver=2.6.11:6) at fn.get (vue.min.
   js?ver=2.6.11:6) at new fn (vue.min.js?ver=2.6.11:6) at vue.min.js?ver=2.6.11:
   6 at wn.$mount (vue.min.js?ver=2.6.11:6) at wn.$mount (vue.min.js?ver=2.6.11:
   6) Ue @ vue.min.js?ver=2.6.11:6
 * We are using the MyListing Theme for the directory and WooCommerce. The error**
   only** happens when we turn on automatic translation. Manual translation works
   fine and the directory displays as normal on a manually translated page.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-on-machine-translation%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Alex](https://wordpress.org/support/users/alexcozmoslabs/)
 * (@alexcozmoslabs)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-on-machine-translation/#post-13959243)
 * Hi,
 * If you have any security or minification plugins please deactivate them and try
   again. Some caching plugins also have minification settings that can break javascript
   code, so for testing purposes please disable any caching as well.
    Also, try 
   and open the website in a different browser just to exclude a browser add-on 
   that might interfere with javascript.
 *  [willem7904](https://wordpress.org/support/users/willem7904/)
 * (@willem7904)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-on-machine-translation/#post-14071757)
 * Does anyone know how to translate {{ listingType.name }} with translate press?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript error on machine translation’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [eror](https://wordpress.org/support/topic-tag/eror/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [mylisting](https://wordpress.org/support/topic-tag/mylisting/)

 * 2 replies
 * 3 participants
 * Last reply from: [willem7904](https://wordpress.org/support/users/willem7904/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-on-machine-translation/#post-14071757)
 * Status: resolved