Close

Account

Documentation

Forum

Menu

Translation and JS error

  • Post count: 13
    luciano2000
    November 21, 2017 at 11:43 pm #25785

    Some words are untraslated, and the locale of FB Comments are /en_US/ (js).
    How can I change to /pt_BR/ ?

    Last thing, at the individual post, the FB error is “frontend.min.js?ver=1.1.3:1 Uncaught ReferenceError: FB is not defined(…)”

    Thanks

    Post count: 9205
    Adek
    November 22, 2017 at 2:06 am #25802

    Hi luciano2000,

    Which words that you mean on above? Also, please try to use JNews Frontend Translation plugin.

    Please replace all content of this file jnews/assets/js/main.js with this one https://pastebin.com/TRdLAycC

    Thank you

    Post count: 13
    luciano2000
    November 22, 2017 at 12:49 pm #25822

    Hi !

    Did you mean jnews/assets/js/main.js or jnews/assets/dist/frontend.min.js ? because the content are different.

    My website still with a console error https://www.g33k.com.br/analises/comemos-hamburgueria-artesanal-na-garagem.html

    The untraslated sample word is “VIEW” from the price of a item in the review plugin

    thanks

    • This reply was modified 7 months ago by  luciano2000.
    Post count: 9205
    Adek
    November 23, 2017 at 2:59 am #25846

    Hi luciano2000,

    I’m sorry about that, my apologize. Please replace all content of this file jnews/assets/dist/frontend.min.js.

    About the console error, it’s weird for me because that error still occurs even when the Facebook Comment works fine. I just try to replicate it on my local server and i don’t get any issue on my side. Please make sure if you’ve been clear the cache data.

    About translation, please try to enable JNews Frontend Translation plugin. For more detail please visit our documentation right here http://support.jegtheme.com/documentation/frontend-translation/ then jump into Frontend Translation section.

    Thank you

    Post count: 13
    luciano2000
    November 23, 2017 at 7:20 pm #25872

    About translation ok, thanks =)

    About the console error. Occurs only when i add the Facebook Widget.

    Post count: 9205
    Adek
    November 24, 2017 at 2:21 am #25903

    Hi luciano2000,

    About the console error, it’s weird for me because i just try to replicate your issue on my side and i don’t get that kind of issue.

    Can you please try to replace again this file jnews/assets/dist/frontend.min.js with this one here https://pastebin.com/LsiGKNgr. Let me know if it’s work or not.

    Thank you

You must be logged in to reply to this topic.