mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
PLT-1800 Load server side locale from the config.json (#3202)
* 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 * Fix get locale on login_controller
This commit is contained in:
@@ -16,7 +16,7 @@ var store Store
|
||||
func Setup() {
|
||||
if store == nil {
|
||||
utils.LoadConfig("config.json")
|
||||
utils.InitTranslations()
|
||||
utils.InitTranslations(utils.Cfg.LocalizationSettings)
|
||||
store = NewSqlStore()
|
||||
|
||||
store.MarkSystemRanUnitTests()
|
||||
|
||||
Reference in New Issue
Block a user