From 8481548def30736ed8091b96cc8c35e9ff6f1960 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Sat, 13 Feb 2016 23:21:17 +0100 Subject: [PATCH] FIX: Load fallback locales after reloading translations --- lib/freedom_patches/translate_accelerator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/freedom_patches/translate_accelerator.rb b/lib/freedom_patches/translate_accelerator.rb index 612b3230656..517357d5919 100644 --- a/lib/freedom_patches/translate_accelerator.rb +++ b/lib/freedom_patches/translate_accelerator.rb @@ -28,6 +28,7 @@ module I18n @overrides_by_site = {} reload_no_cache! + ensure_all_loaded! end LOAD_MUTEX = Mutex.new