1

My drupal site is built with 2 languages English/Portuguese, and the default language is English.

But in IE the default language (English) is overwritten and it only displays the Portuguese version, and if i click the English icon it does not change to English.

However if i browse with an English computer the English is displayed, but i can't still switch from Portuguese to English.

Some advice is appreciated.

  • Make sure there are no errors in your console. IE doesn't like javascript errors for example. IE doesn't like console.log's as well. – Huelfe Sep 21 '15 at 13:44
  • The only error i get is in JQuery dropbox.com/s/kvv7p0v47m9ejyn/Untitled.png?dl=0 – Nuno cruz Sep 21 '15 at 13:57
  • {for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e},nt.error=function(e) {throw new Error("Syntax error, unrecognized expression: "+e)} ,a=nt.compile=function(e,t){var n,r=[],i=[],s=A[d][e+" "];if(!s){t||(t=ut(e)),n=t.length;while(n--)s=ht(t[n]),s – Nuno cruz Sep 21 '15 at 14:04
  • And you get no error, if you click the language switch button? – Huelfe Sep 21 '15 at 14:26
  • 1
    Try to use another jQuery version. With this error i can't say what is actually the problem. – Huelfe Sep 21 '15 at 14:44
1

This answer is as simple as ticking a checkBox for the browser language, that for some reason in IE and Edge override the manual language switcher. The reason that i didn't find this before was that it was in a tab far from view.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.