Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add language switch option for traditional chinese
Roland Geidera844397fbe99
diff --git a/wger/core/static/images/icons/flags/zh-hant.svg b/wger/core/static/images/icons/flags/zh-hant.svgnew file mode 100644index 000000000..017e7b7a5--- /dev/null+++ b/wger/core/static/images/icons/flags/zh-hant.svg@@ -0,0 +1,13 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="900" height="600"+ viewBox="0 0 30 20">+ <defs>+ <path id="s" d="M0,-1 0.587785,0.809017 -0.951057,-0.309017H0.951057L-0.587785,0.809017z" fill="#FFFF00"/>+ </defs>+ <rect width="30" height="20" fill="#EE1C25"/>+ <use xlink:href="#s" transform="translate(5,5) scale(3)"/>+ <use xlink:href="#s" transform="translate(10,2) rotate(23.036243)"/>+ <use xlink:href="#s" transform="translate(12,4) rotate(45.869898)"/>+ <use xlink:href="#s" transform="translate(12,7) rotate(69.945396)"/>+ <use xlink:href="#s" transform="translate(10,9) rotate(20.659808)"/>+</svg>diff --git a/wger/settings_global.py b/wger/settings_global.pyindex c2bff1453..46cd492da 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -258,6 +258,7 @@ AVAILABLE_LANGUAGES = (('tr', 'Turkish'),('uk', 'Ukrainian'),('zh-hans', 'Chinese simplified'),+ ('zh-hant', 'Traditional Chinese'),)# Default language code for this installation.