Facebook wrong locale init

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("-","_");
 
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.
 
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.

It worked, thank you very much.

socialbar.webp
 
Top Bottom