diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-04-30 14:35:18 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-04-30 14:35:18 -0700 |
commit | 6180d45dc8d6a3ae27ee8bff720eb3bf24acc007 (patch) | |
tree | aa06c19155e8cdff130174e799f50074f0a6c563 | |
parent | 04ea88997b027fe6b5fb5ca9c3230821e39cb2b6 (diff) | |
download | fatcat-scholar-6180d45dc8d6a3ae27ee8bff720eb3bf24acc007.tar.gz fatcat-scholar-6180d45dc8d6a3ae27ee8bff720eb3bf24acc007.zip |
enable initial Korean (ko) web interface translation
-rw-r--r-- | fatcat_scholar/templates/base.html | 3 | ||||
-rw-r--r-- | fatcat_scholar/web.py | 1 |
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", |