diff --git a/lib/vagrant.rb b/lib/vagrant.rb index 56c9b9fae..2a714d459 100644 --- a/lib/vagrant.rb +++ b/lib/vagrant.rb @@ -263,6 +263,10 @@ end # Default I18n to load the en locale I18n.load_path << File.expand_path("templates/locales/en.yml", Vagrant.source_root) +# Make sure only available locales are used. This will be the default in the +# future but we need this to silence a deprecation warning from 0.6.9 +I18n.config.enforce_available_locales = true + # A lambda that knows how to load plugins from a single directory. plugin_load_proc = lambda do |directory| # We only care about directories