Skip to content

About

Elixir plug to detect and set locale

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

66 Commits

Folders and files

Repository files navigation

LocalePlug

Elixir plug to detect and set locale.

CI

locale is detected according to following order:

params > cookies > "accept-language" in request headers

Installation

def deps do
  [
    {:locale_plug, "~> 0.1.0"}
  ]
end

Usage

plug LocalePlug, backend: MyApp.Gettext

About

Elixir plug to detect and set locale

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages