Skip to content

Commit 516ce41

Browse files
committed
Read dashboard language from environment variable
1 parent 03c24c9 commit 516ce41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

survey_dashboard/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
# GLOBAL
34-
LANGUAGE = 'EN' #'DE'
34+
LANGUAGE = os.environ.get('LANGUAGE_DASHBOARD', 'EN') #'DE'
3535
ACCORDION_WIDTH = int(DEFAULT_FIGURE_WIDTH*2) # maybe this can be made dynamic.
3636
# This is the only width parameter to which everything streches to
3737

0 commit comments

Comments
 (0)