/Knowledge/sources/honojs__hono/llms-full/language-middleware--c660a8802d0f.md
Language Middleware - hono-docs
Language Middleware Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt language middleware Summary The La...
Language Middleware
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#language-middleware
Summary
The Language Detector middleware automatically determines a user's preferred language (locale) from various sources and makes it available via c.get('language'). Detection strategies include query parameters, cookies, headers, and URL...
Content
The Language Detector middleware automatically determines a user's preferred language (locale) from various sources and makes it available via c.get('language'). Detection strategies include query parameters, cookies, headers, and URL path segments. Perfect for internationalization (i18n) and locale-specific content.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#language-middleware",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Language Middleware",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 197,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Language Middleware",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}