Refactoring api to use translations (chunk 1)
- Add spanish translations - Files in order by name from admin to export - Does not include api templates and tests - Fix web_test to load translations - Fix i18n to fallback to DEFAULT_LOCALE if no system locale found
Этот коммит содержится в:
@@ -22,6 +22,7 @@ var URL string
|
||||
func Setup() {
|
||||
if api.Srv == nil {
|
||||
utils.LoadConfig("config.json")
|
||||
utils.InitTranslations()
|
||||
api.NewServer()
|
||||
api.StartServer()
|
||||
api.InitApi()
|
||||
|
||||
Ссылка в новой задаче
Block a user