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.2See 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.