How to change http Accept language in Firefox Developer Edition?

Asked

Viewed 154 times

0

I am developing a website that should work for Portuguese and English - preferably automatically. By php I already got the HTTP-ACCEPT-LANGUAGE, and now I need to start testing the code that will direct the content according to the language that the browser reported.

For testing, I use Safari which (apparently) has no way to change the header in the language part. Firefox Developer Edition also does not, but has two add-ons: Quick Accept-Language Switcher and Quick Locale Switcher. Both I tested on my localhost but php always picks up the same header (with the en code) no matter which language I select or the code I enter (in the case of Quick Accept-Language).

I need one of these two browsers pretend to be a gringo! Any suggestions?

1 answer

0


  • This one worked, and is more complete than the previous ones because it will allow me to change other variables if I need to. I already use Safari, Firefox and Opera (to simulate the smartphone), I don’t know if I’ll include Chrome anymore, but thanks for the tip.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.