From 4dda89d1e8373f9a7671f284a3d7f4213f1ce33e Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 18 May 2018 08:19:21 -0400 Subject: [PATCH] Load locales from shared directory --- lib/vagrant-hostmanager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-hostmanager.rb b/lib/vagrant-hostmanager.rb index f3fb89e..7e0ac7b 100644 --- a/lib/vagrant-hostmanager.rb +++ b/lib/vagrant-hostmanager.rb @@ -8,7 +8,7 @@ module VagrantPlugins @source_root ||= Pathname.new(File.expand_path('../../', __FILE__)) end - I18n.load_path << File.expand_path('locales/en.yml', source_root) + I18n.load_path << File.expand_path("/usr/share/vagrant-plugins/vagrant-hostmanager/locales/en.yml", __FILE__) I18n.reload! end end