Checking for locale parameter in the header