package templates import ( "strings" "git.thomasvoss.com/euro-cash.eu/i18n" ) templ Language() { {{ p := ctx.Value("printer").(i18n.Printer) }}
@navbar()

{ p.T("Select Your Language") }

{ p.T("Select your preferred language to use on the site.") }

If you are an American user, it’s suggested that you select American English instead of British English. This will ensure that dates will be formatted with the month before the day.


{ p.T("Eurozone Languages") }

@languageGrid(true)

{ p.T("Other Languages") }

@languageGrid(false)
} templ languageGrid(eurozone bool) {
for _, loc := range i18n.Locales { if loc.Eurozone == eurozone { } }
}