How do I set the language for the Android developer website? [closed]

主宰稳场 提交于 2019-11-30 02:32:59

While CommonsWare's answer will work just fine because removing the cookie will reset the language back to the default (English), the proper way to change the language of the Android Developer site to English is use the language spinner at the bottom of the page. This will set your preference and should retain it (by saving off the preference to the cookie).

For others who may have this problem, the Google search will often try to redirect you to your specific locale page.

I didn't notice that at first, since the process is very instinctive (type and click) and thought the site was constantly changing my language back to Portuguese. I solved it by changing my Google Search language setting to English once for all.

You can also just append “&hl=en” to the end of the URL and reload the page.

That will trigger a prompt asking you if you want to set the default language to English (or whatever you want).

What am I doing wrong?

Since I got the same effect in my browser after visiting that zh-cn URL once, you presumably clicked on a link to the Chinese edition somewhere along the line.

How can I suppress this behavior?

Well, you can switch back to English by removing the cookies from the developer.android.com domain, at least in my quick test.

I am not aware of a way to prevent you from ever visiting the Chinese site.

In my case, I set up the spinner at the bottom to English, but still got the content in another language. I changed chrome language setting, then finally it changed to English.

  1. Go to setting on the upper right of chrome.
  2. Find language -> click language setting.
  3. Drag English to the top of the language list.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!