diff --git a/cookbook/locale/zh_CN/LC_MESSAGES/django.mo b/cookbook/locale/zh_CN/LC_MESSAGES/django.mo deleted file mode 100644 index 4db99973f7..0000000000 Binary files a/cookbook/locale/zh_CN/LC_MESSAGES/django.mo and /dev/null differ diff --git a/cookbook/locale/zh_Hans/LC_MESSAGES/django.mo b/cookbook/locale/zh_Hans/LC_MESSAGES/django.mo new file mode 100644 index 0000000000..0ee278a47c Binary files /dev/null and b/cookbook/locale/zh_Hans/LC_MESSAGES/django.mo differ diff --git a/cookbook/locale/zh_CN/LC_MESSAGES/django.po b/cookbook/locale/zh_Hans/LC_MESSAGES/django.po similarity index 100% rename from cookbook/locale/zh_CN/LC_MESSAGES/django.po rename to cookbook/locale/zh_Hans/LC_MESSAGES/django.po diff --git a/recipes/locale/zh_CN/LC_MESSAGES/django.mo b/recipes/locale/zh_Hans/LC_MESSAGES/django.mo similarity index 100% rename from recipes/locale/zh_CN/LC_MESSAGES/django.mo rename to recipes/locale/zh_Hans/LC_MESSAGES/django.mo diff --git a/recipes/locale/zh_CN/LC_MESSAGES/django.po b/recipes/locale/zh_Hans/LC_MESSAGES/django.po similarity index 100% rename from recipes/locale/zh_CN/LC_MESSAGES/django.po rename to recipes/locale/zh_Hans/LC_MESSAGES/django.po diff --git a/recipes/settings.py b/recipes/settings.py index 934364121a..bb569a97b8 100644 --- a/recipes/settings.py +++ b/recipes/settings.py @@ -492,6 +492,7 @@ def setup_database(db_url=None, db_options=None, db_engine=None, pg_host=None, p ('ru', _('Russian')), ('es', _('Spanish')), ('sv', _('Swedish')), + ('zh-hans', _('Simplified Chinese')), ] # Static files (CSS, JavaScript, Images) diff --git a/vue/src/locales/zh.json b/vue/src/locales/zh.json new file mode 120000 index 0000000000..78464f7a84 --- /dev/null +++ b/vue/src/locales/zh.json @@ -0,0 +1 @@ +zh_Hans.json \ No newline at end of file