From 01dc51c84b25318e27e812160d49149cb29d1409 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 13 Mar 2018 10:25:31 +1100 Subject: [PATCH] Consistent reference of the source locale --- lib/open_food_network/i18n_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/open_food_network/i18n_config.rb b/lib/open_food_network/i18n_config.rb index 4e93c9b967..3807aeae5d 100644 --- a/lib/open_food_network/i18n_config.rb +++ b/lib/open_food_network/i18n_config.rb @@ -10,7 +10,7 @@ module OpenFoodNetwork # All locales that can be accessed by the application, including fallbacks. def self.available_locales - (selectable_locales + [default_locale, 'en']).uniq + (selectable_locales + [default_locale, source_locale]).uniq end # The default locale that is used when the user doesn't have a preference.