Skip to content

Languages

Backend and frontend languages, locale-prefixed URLs, one on/off switch

core Core · updated 2 days ago · 55k downloads
New app
$ mix igniter.install phoenix_kit

Core multi-language support for the admin (backend) and the public site (frontend), with languages organized by countries and regions. It is always present; one switch turns multi-language routing on, otherwise the site serves its primary language with no locale segment in URLs. The configuration feeds the public language switcher, the sign-in language dropdown and the admin user menu.

Use it when

  • Your site serves several languages and needs locale-prefixed URLs and a switcher
  • You start single-language but want to add languages later without changing URLs

What it gives you

  • Backend languages and frontend end-user languages by country and region
  • Single switch: off serves only the primary language with clean URLs; on routes the configured languages
  • Public language switcher, pre-login language dropdown, language in the admin avatar menu
  • Settings page at /admin/settings/languages
  • Global app timezone and time format settings (native Elixir, no timex)

PhoenixKit core news

Install

Included in phoenix_kit. Nothing extra to install.

New app
$ mix igniter.install phoenix_kit
Releases
  1. 3.9.0
  2. 3.8.0
  3. 3.7.0
Admin
/admin/settings/languages

Related modules

What it needs, what builds on it, and its neighbours in Core.