When other different language than English is set as default language, there are six steps which are validated before the default language will be set on the website - the logic in getting the current locale is as follows:
- query string
- user preference
- portal default
- system default
So the DNN will always take the priorities described above over the language set as default.