prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

en-US locale not properly recognized #937

Closed jonathancross closed 3 years ago

jonathancross commented 7 years ago

Issue:

accept-language:en-US,de-DE; loads the login page in German rather than English.

Explanation:

Apparently KiwiIRC defaults to en-gb. This is different than most websites / browsers which generally default to en-US. Since I occasionally read in German (but am not fluent), my accept header looks like this:

accept-language:en-US,de-DE;

It seems that en-US is unrecognized and I am served de-DE page. This was very confusing and led me to believe it was a geolocation issue (I am in Switzerland).

Workaround: I added en-gb as the prefered language in my browser to see the login page in english.

Related:

  1. Offer language option on login page #354