diff --git a/i2p2www/__init__.py b/i2p2www/__init__.py index 6d150a5eba7c72748ed0baebebd8c25e0fca187b..a2263f7eb03f4d873219780c4d52f9943583cc9d 100644 --- a/i2p2www/__init__.py +++ b/i2p2www/__init__.py @@ -20,7 +20,7 @@ MEETINGS_PER_PAGE = 20 SUPPORTED_LANGS = [ 'en', 'es', -# 'zh', + 'zh_CN', 'de', 'fr', # 'it', diff --git a/i2p2www/pages/global/lang.html b/i2p2www/pages/global/lang.html index 529f99c22660866dd0028b004fa440e935e02fb5..dd83130a500c765068054046c7def22972616694 100644 --- a/i2p2www/pages/global/lang.html +++ b/i2p2www/pages/global/lang.html @@ -1,8 +1,9 @@ <ul class="languages"> <li><a href="{{ change_lang('en') }}" rel="alternate" hreflang="en"><div class="menuitem"><img src="{{ get_flag('en') }}" alt="English" /></div></a></li> <li><a href="{{ change_lang('es') }}" rel="alternate" hreflang="es"><div class="menuitem"><img src="{{ get_flag('es') }}" alt="Castellano" /></div></a></li> + <li><a href="{{ change_lang('zh_CN') }}" rel="alternate" hreflang="zh_CN"><div class="menuitem"><img src="{{ get_flag('zh_CN') }}" alt="Chinese" /></div></a></li> <li><a href="{{ change_lang('de') }}" rel="alternate" hreflang="de"><div class="menuitem"><img src="{{ get_flag('de') }}" alt="Deutsch" /></div></a></li> <li><a href="{{ change_lang('fr') }}" rel="alternate" hreflang="fr"><div class="menuitem"><img src="{{ get_flag('fr') }}" alt="Français" /></div></a></li> - <li><a href="{{ change_lang('sv_SE') }}" rel="alternate" hreflang="sv_SE"><div class="menuitem"><img src="{{ get_flag('sv_SE') }}" alt="Svenska" /></div></a></li> <li><a href="{{ change_lang('pt') }}" rel="alternate" hreflang="pt"><div class="menuitem"><img src="{{ get_flag('pt') }}" alt="Portugese" /></div></a></li> + <li><a href="{{ change_lang('sv_SE') }}" rel="alternate" hreflang="sv_SE"><div class="menuitem"><img src="{{ get_flag('sv_SE') }}" alt="Svenska" /></div></a></li> </ul> diff --git a/i2p2www/static/images/flags/zh.png b/i2p2www/static/images/flags/zh_CN.png similarity index 100% rename from i2p2www/static/images/flags/zh.png rename to i2p2www/static/images/flags/zh_CN.png