feat: add translation
This commit is contained in:
parent
ddf9348eb8
commit
2a6f1ccf80
12 changed files with 260 additions and 38 deletions
|
|
@ -1,6 +1,6 @@
|
|||
defmodule MvWeb.LiveHelpers do
|
||||
def on_mount(:default, _params, session, socket) do
|
||||
locale = session["locale"] || "en"
|
||||
locale = session["locale"] || "de"
|
||||
Gettext.put_locale(locale)
|
||||
{:cont, socket}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue