diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-03-23 21:38:16 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-03-23 21:38:16 -0700 |
commit | e70e7cff4b5c910405694fb297330507b49937b1 (patch) | |
tree | db6db14cc662dd347a2807769d3af739d50f9f03 /fatcat_scholar/web.py | |
parent | 558156b879a06cc8ab0f2872ba9306d3ae75c1cc (diff) | |
download | fatcat-scholar-e70e7cff4b5c910405694fb297330507b49937b1.tar.gz fatcat-scholar-e70e7cff4b5c910405694fb297330507b49937b1.zip |
implement additional translation languages
Diffstat (limited to 'fatcat_scholar/web.py')
-rw-r--r-- | fatcat_scholar/web.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py index 2193746..5020bf1 100644 --- a/fatcat_scholar/web.py +++ b/fatcat_scholar/web.py @@ -27,7 +27,20 @@ from fatcat_scholar.schema import ScholarDoc logger = logging.getLogger() -I18N_LANG_TRANSLATIONS = ["de", "zh", "ru", "ar", "fr", "es", "nb", "hr"] +I18N_LANG_TRANSLATIONS = [ + "ar", + "de", + "es", + "fa", + "fr", + "hr", + "it", + "nb", + "nl", + "pt", + "ru", + "zh", +] I18N_LANG_OPTIONS = I18N_LANG_TRANSLATIONS + [ settings.I18N_LANG_DEFAULT, ] |