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
Этот коммит содержится в:
Elias Nahum
2016-01-21 10:07:29 -03:00
родитель 9f526555df
Коммит 507fbeb068
11 изменённых файлов: 945 добавлений и 140 удалений

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

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