Skip to content

About

Elixir plug to detect and set locale

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

113 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.2.0"}
  ]
end

Usage

plug LocalePlug, backend: MyApp.Gettext

About

Elixir plug to detect and set locale

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages