From a2c183f401bdf8e9abddd35d4561d42034325046 Mon Sep 17 00:00:00 2001 From: enahum Date: Fri, 27 May 2016 09:25:37 -0300 Subject: PLT-1800 Load server side locale from the config.json (#3092) * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text --- utils/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/config_test.go') diff --git a/utils/config_test.go b/utils/config_test.go index 6f36b30c3..96ef49696 100644 --- a/utils/config_test.go +++ b/utils/config_test.go @@ -9,5 +9,5 @@ import ( func TestConfig(t *testing.T) { LoadConfig("config.json") - InitTranslations() + InitTranslations(Cfg.LocalizationSettings) } -- cgit v1.2.3-1-g7c22