aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-04-30 14:35:18 -0700
committerBryan Newbold <bnewbold@archive.org>2021-04-30 14:35:18 -0700
commit6180d45dc8d6a3ae27ee8bff720eb3bf24acc007 (patch)
treeaa06c19155e8cdff130174e799f50074f0a6c563 /fatcat_scholar
parent04ea88997b027fe6b5fb5ca9c3230821e39cb2b6 (diff)
downloadfatcat-scholar-6180d45dc8d6a3ae27ee8bff720eb3bf24acc007.tar.gz
fatcat-scholar-6180d45dc8d6a3ae27ee8bff720eb3bf24acc007.zip
enable initial Korean (ko) web interface translation
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/templates/base.html3
-rw-r--r--fatcat_scholar/web.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index c4e78c6..6cba50e 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -85,14 +85,15 @@
<div id="language_menu" class="menu">
{# TODO: as a dynamic array #}
{# TODO: do url_for() here, with current endpoint (from request?) #}
- <a role="menuitem" class="item" href="/en/">English</a>
<a role="menuitem" class="item" href="/ar/">عَرَبِيّ</a>
<a role="menuitem" class="item" href="/de/">Deutsch</a>
+ <a role="menuitem" class="item" href="/en/">English</a>
<a role="menuitem" class="item" href="/es/">Español</a>
<a role="menuitem" class="item" href="/fa/">فارسی</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="/it/">Italiano</a>
+ <a role="menuitem" class="item" href="/ko/">한국어</a>
<a role="menuitem" class="item" href="/nb/">Norwegian Bokmål</a>
<a role="menuitem" class="item" href="/nl/">Nederlands</a>
<a role="menuitem" class="item" href="/pt/">Português</a>
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index 9963cec..3c8b8f3 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -47,6 +47,7 @@ I18N_LANG_TRANSLATIONS = [
"fr",
"hr",
"it",
+ "ko",
"nb",
"nl",
"pt",