aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fatcat_scholar/templates/base.html1
-rw-r--r--fatcat_scholar/web.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 5f2fa62..8ac8096 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -165,6 +165,7 @@
<a role="menuitem" class="item" href="/de/">Deutsch</a>
<a role="menuitem" class="item" href="/es/">Español</a>
<a role="menuitem" class="item" href="/fr/">Français</a>
+ <a role="menuitem" class="item" href="/hr/">Hrvatski</a>
<a role="menuitem" class="item" href="/nb/">Norwegian Bokmål</a>
<a role="menuitem" class="item" href="/ru/">Русский</a>
<a role="menuitem" class="item" href="/zh/">中文</a>
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index 996d353..6e3524d 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -22,7 +22,7 @@ from fatcat_scholar.search import do_fulltext_search, FulltextQuery, FulltextHit
logger = logging.getLogger()
-I18N_LANG_TRANSLATIONS = ["de", "zh", "ru", "ar", "fr", "es", "nb"]
+I18N_LANG_TRANSLATIONS = ["de", "zh", "ru", "ar", "fr", "es", "nb", "hr"]
I18N_LANG_OPTIONS = I18N_LANG_TRANSLATIONS + [
settings.I18N_LANG_DEFAULT,
]