Use standard GNU Gettext PO translation files to translate HTML responses served via a Caddy web server.
Install xcaddy
xcaddy build --with github.com/ewen-lbh/caddy-i18n@v0.1.2
See the example Caddyfile for a simple example.
You can see what the final responses look like in ./example/responses
. The example .po files used are in ./example/messages
.