summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/web.py')
-rw-r--r--fatcat_scholar/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index 79b4f30..2e7359b 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -43,7 +43,7 @@ class LangPrefix:
# first try to parse a language code from header
try:
accept_code = parse_accept_lang(
- request.headers.get("accept-language", ""), I18N_LANG_TRANSLATIONS,
+ request.headers.get("accept-language", ""), I18N_LANG_OPTIONS,
)
if accept_code:
self.code = accept_code