Language detection

Off, Browser (Accept-Language), or IP (GeoIP) for first-visit language.

Settinglang_detection

Language detection

How the site picks a language on a first visit (before a language cookie exists).

Where to find it

Admin → Settings → Settings (first tab) → Languages → Language detection

Setting key: lang_detection

Options

Value Behavior
off Use Default language until the visitor picks one
browser Read Accept-Language
ip Use country headers when present (Cloudflare / Vercel GeoIP style)

How it works

After the visitor chooses a language (cookie), that usually wins. Detection mainly affects the first hit and only lands on Enabled languages.

Common problems

VPN users see the “wrong” language

IP mode follows the VPN exit country. Use Browser or Off if that causes tickets.

Detection never seems to run

Missing country headers on a plain VPS (IP mode), or the matched locale is not enabled — falls back to default.

Related