Fix bug related with Accept-Language header parameter not being properly treated to set the locale.