set enforce_available_locales to new default value to fix deprecation warnings.