From b00a60ab71b2bd4640c8608d71805ba9caae97d9 Mon Sep 17 00:00:00 2001 From: enahum Date: Wed, 1 Jun 2016 09:56:13 -0300 Subject: PLT-1800 Load server side locale from the config.json (#3135) * 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 * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency --- config/config.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.json b/config/config.json index 0c2faa3c5..582a7244c 100644 --- a/config/config.json +++ b/config/config.json @@ -155,5 +155,10 @@ "Enable": false, "Directory": "./data/", "EnableDaily": false + }, + "LocalizationSettings": { + "DefaultServerLocale": "en", + "DefaultClientLocale": "en", + "AvailableLocales": "en,es,fr,ja,pt-BR" } -} +} \ No newline at end of file -- cgit v1.2.3-1-g7c22