• Resolved whtadmin

    (@whtadmin)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    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.

    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.