LocalePlug Elixir plug to detect and set locale. locale is detected according to following order: params > cookies > "accept-language" in request headers Installation def deps do [ {:locale_plug, "~> 0.2.0"} ] end Usage plug LocalePlug, backend: MyApp.Gettext