<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kagamigo/ki18n/ki18n.go, branch v0.9.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kagamino.dev/kagamigo/atom?h=v0.9.1</id>
<link rel='self' href='https://git.kagamino.dev/kagamigo/atom?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/kagamigo/'/>
<updated>2026-05-12T15:27:59Z</updated>
<entry>
<title>ki18n: add locale-aware date formatting via FormatTime</title>
<updated>2026-05-12T15:27:59Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2026-05-12T15:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/kagamigo/commit/?id=3e09f3b6dc1484820658d07187096cda541fed46'/>
<id>urn:sha1:3e09f3b6dc1484820658d07187096cda541fed46</id>
<content type='text'>
Adds FormatTime(ctx, t) for locale-aware date output (e.g. "12 mai 2026"
in fr-FR). Init now accepts extra Locale values so callers can register
additional languages with custom formatters; en-GB and fr-FR are built-in
defaults.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>ki18n: derive language from request context via strategy chain</title>
<updated>2026-05-12T15:12:07Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2026-05-12T15:12:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/kagamigo/commit/?id=19cfae39af4e7cbb8a0719e64d619ba0248f9d76'/>
<id>urn:sha1:19cfae39af4e7cbb8a0719e64d619ba0248f9d76</id>
<content type='text'>
Replace Tr(lang, ...) with Tr(ctx, ...) — language is now resolved once
per request by LangMiddleware and stored in context. Callers no longer
need to thread a lang string through to templates.

Adds Strategy interface with CookieStrategy and AcceptLanguageStrategy
built-ins; middleware chains them in order, falling back to en-GB.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Simple use cases</title>
<updated>2025-12-30T20:00:00Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2025-12-30T20:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/kagamigo/commit/?id=26d2799bc3ccc5fb556ac68d7a0bb6aabe69569f'/>
<id>urn:sha1:26d2799bc3ccc5fb556ac68d7a0bb6aabe69569f</id>
<content type='text'>
</content>
</entry>
</feed>
