Fix locale option in requireConfig