Hello,
I am running a git-server, powered by gitea, an open-source git server project written in Go. In gitea, it is possible to customize the home page, what I did. My customized home page, among other things, contains:
{{if eq .Lang "de-DE"}}
<h2> Willkommen auf dem Git-Server der Fakultät für Informatik der TU Dortmund</h2>
{{else}}
<h2> Welcome to the GIT server of the Faculty of Computer Science of the TU Dortmund</h2>
{{end}}
This worked with gitea 1.14.5, compiled with some older version of golang, but unfortunately, it does not work in gitea 1.17.2, compiled with golang 1.19.1; the language of the displayed webpage is English, though my browser locale is German.
As far as I found on the internet, the if-else-clause and the .LANG variable come from Go, so I ask here if anyone has an idea of how to make the above work again.
Regards
Christoph