PLT-1800 Load server side locale from the config.json (#3076)

* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics
Этот коммит содержится в:
enahum
2016-05-24 09:36:27 -03:00
коммит произвёл Joram Wilander
родитель 79c0b20689
Коммит 34beaa569b
24 изменённых файлов: 377 добавлений и 51 удалений

Просмотреть файл

@@ -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()