Prepare for selecting languages

UI language is stored in user settings for authenticated users;
otherwise is only stored in the current model (not persisted).
This commit is contained in:
Eike Kettner
2021-03-27 22:00:50 +01:00
parent 9fcab84267
commit 322a3e837c
10 changed files with 335 additions and 1 deletions

View File

@ -0,0 +1,16 @@
module UiLanguage exposing
( UiLanguage(..)
, all
)
type UiLanguage
= English
| German
all : List UiLanguage
all =
[ English
, German
]