cmd/frontend: remove i18n
Remove the Language middleware, effectively using English for all
i18n.
Revisit if/when we internationalize the whole site.
Change-Id: I0ad083cc057a33206c507856578983f44959cf69
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347559
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/cmd/frontend/main.go b/cmd/frontend/main.go
index f8100b4..e1e6e62 100644
--- a/cmd/frontend/main.go
+++ b/cmd/frontend/main.go
@@ -174,7 +174,6 @@
middleware.Panic(panicHandler),
ermw,
middleware.Timeout(54*time.Second),
- middleware.Language,
)
addr := cfg.HostAddr(*hostAddr)
log.Infof(ctx, "Listening on addr %s", addr)