mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-24 12:05:24 +08:00
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
This commit is contained in:
committed by
Christopher Speller
parent
7be2a05cf5
commit
b00a60ab71
+1
-1
@@ -21,7 +21,7 @@ var URL string
|
||||
func Setup() {
|
||||
if api.Srv == nil {
|
||||
utils.LoadConfig("config.json")
|
||||
utils.InitTranslations()
|
||||
utils.InitTranslations(utils.Cfg.LocalizationSettings)
|
||||
api.NewServer()
|
||||
api.StartServer()
|
||||
api.InitApi()
|
||||
|
||||
Reference in New Issue
Block a user