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

Facebook wrong locale init

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

Jake Bunce

XenForo moderator
Staff member
#2
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
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.PNG