Removes useless argument from globalize_inputs adds available_locales option.