Skip to content
Snippets Groups Projects
Commit b32900cc authored by jensilo's avatar jensilo
Browse files

Merge remote-tracking branch 'origin/main'

parents 22d68ad5 c9e659a3
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,6 @@ import (
"net/http"
)
// TODO add tests
// Middleware is part of the trans package and sets the locale in the request context.
// It requires a TranslatorProvider to be passed and uses it to choose the actual locale after checking the request.
// The locale is extracted from the request's cookie. If no cookie is present or the cookie is empty, the default locale is used.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment