Site default locale is not returned when user specifies a locale in the URL that is not available for that site.
1. Add the following property to the portal-ext:
2. Go to Admin > Site Administration / Configuration > Display Settings
3. Choose the option "Define a custom default language and additional available languages for this site. ", German as default language, and set German and English (UK) as your current languages, move every other language to the Available section
4. Go to: http://localhost:8080/pt
Expected behaviour: Page presented in German (Site default language)
Observed behaviour: Page is displayed in English (UK)