Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Enable Korean

Roland Geider24ce1a22b020
diff --git a/wger/core/fixtures/languages.json b/wger/core/fixtures/languages.json
index 7144f61ab..d6b6e728c 100644
--- a/wger/core/fixtures/languages.json
+++ b/wger/core/fixtures/languages.json
@@ -232,5 +232,14 @@
"full_name": "Slovenski jezik",
"full_name_en": "Slovenian"
}
+ },
+ {
+ "model": "core.language",
+ "pk": 27,
+ "fields": {
+ "short_name": "ko",
+ "full_name": "한국어",
+ "full_name_en": "Korean"
+ }
}
]
diff --git a/wger/core/static/images/icons/flags/ko.svg b/wger/core/static/images/icons/flags/ko.svg
new file mode 100644
index 000000000..eaee92ab1
--- /dev/null
+++ b/wger/core/static/images/icons/flags/ko.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="900" height="600" viewBox="-72 -48 144 96"><path fill="#fff" d="M-72-48v96H72v-96z"/><g stroke="#000" stroke-width="4"><path transform="rotate(33.69006752598)" d="M-50-12v24m6 0v-24m6 0v24m76 0V1m0-2v-11m6 0v11m0 2v11m6 0V1m0-2v-11"/><path transform="rotate(-33.69006752598)" d="M-50-12v24m6 0V1m0-2v-11m6 0v24m76 0V1m0-2v-11m6 0v24m6 0V1m0-2v-11"/></g><g transform="rotate(33.69006752598)"><path fill="#cd2e3a" d="M12 0a18 18 0 11-36 0 24 24 0 1148 0"/><path fill="#0047a0" d="M0 0a12 12 0 1124 0 24 24 0 11-48 0 12 12 0 1024 0"/></g></svg>
\ No newline at end of file
diff --git a/wger/settings_global.py b/wger/settings_global.py
index e5dd6e808..e0a54b797 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -252,6 +252,7 @@ AVAILABLE_LANGUAGES = (
('he', 'Hebrew'),
('hr', 'Croatian'),
('it', 'Italian'),
+ ('ko', 'Korean'),
('nl', 'Dutch'),
('nb', 'Norwegian'),
('pl', 'Polish'),