fix i18n enforce deprecation warning

Attempt to fix the warning: “I18n.enforce_available_locales will
default to true in the future”