summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-05-27 09:25:37 -0300
committerJoram Wilander <jwawilander@gmail.com>2016-05-27 08:25:37 -0400
commita2c183f401bdf8e9abddd35d4561d42034325046 (patch)
tree66565a9e21ad6b47b4dca18113ad9be48bd98492 /config
parent15e427e806716b372f7fbef12d922f847ccc71b5 (diff)
downloadchat-a2c183f401bdf8e9abddd35d4561d42034325046.tar.gz
chat-a2c183f401bdf8e9abddd35d4561d42034325046.tar.bz2
chat-a2c183f401bdf8e9abddd35d4561d42034325046.zip
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
Diffstat (limited to 'config')
-rw-r--r--config/config.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/config.json b/config/config.json
index 68d4e8f12..70b02ab13 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