Prevent unaccepted locales and invalid values in params locale