Added support for locale query string parameter without friendly url.