From 507fbeb068ac168868ef00bd1f40d3ba4d17c884 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Thu, 21 Jan 2016 10:07:29 -0300 Subject: 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 --- web/web_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'web/web_test.go') diff --git a/web/web_test.go b/web/web_test.go index 8d40810b5..237fdceaf 100644 --- a/web/web_test.go +++ b/web/web_test.go @@ -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() -- cgit v1.2.3-1-g7c22