1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook wrong locale init

Discussion in 'Troubleshooting and Problems' started by jonatan.wb, May 30, 2012.

  1. jonatan.wb

    jonatan.wb Member

    In firebug console say:

    NetworkError: 403 Forbidden - http://connect.facebook.net/es_AR/all.js"

    *es_AR <----- doesn´t exists ... should be "es_LA" (LatinAmerica)

    Code:
    (XenForo.Facebook.forceInit||XenForo.Facebook.appId&&XenForo.Facebook.fbUid)&&XenForo.Facebook.load()},load:function(){XenForo.Facebook.locale=c("html").attr("lang").replace("-","_");
    
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I don't see es-AR as an available option in the list of locales. What locale are you using?

    Admin CP -> Appearance -> Languages -> [click your language] -> Locale

    This defines the locale that is used by the forum pages as well as that piece of javascript.

    Also, is this template customized? If so then try reverting it, or check the html tag at the top:

    Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

    That template contains the html tag which defines the lang attribute for the page.
     
  3. jonatan.wb

    jonatan.wb Member

    It worked, thank you very much.

    socialbar.PNG
     

Share This Page