Hey,

Could you tell us what's going wrong with:
django-admin.py makemessages -l zh_Hans

If you go to your admin interface, can you see Chinese translations for Django itself?
I suspect an issue with your project configuration.

Claude

Le 06. 03. 16 07:44, Malte a écrit :

Through this thread here:
https://code.djangoproject.com/ticket/18419#comment:18

I found out about the zh-* deprecation

https://docs.djangoproject.com/en/1.9/internals/deprecation/
The zh-cn and zh-tw language codes will be removed and have been
replaced by the zh-hans and zh-hant language code respectively.

Which is a good thing! So now we finally got the correct zh-hans and
zh-hant in there.

But what the documentation isn't revealing is how I should deal with the
locale. The list clearly states:
https://github.com/django/django/blob/master/django/conf/global_settings.py#L140

zh-hans and zh-hant for the settings.py.

However, the documentation is very vague about how the formatting should
be for makemessages and compilemessages.

Is it

django-admin.py makemessages -l zh_Hans
or
django-admin.py makemessages -l zh_HANS
?

Neither works for me right now and I can't figure it out. I already
posted this question on SOF
(http://stackoverflow.com/questions/35823415/django-how-to-implement-zh-hans-chinese)
but I am running out of time with my project. Can anyone help me out here?

--
You received this message because you are subscribed to the Google Groups "Django 
internationalization and localization" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-i18n+unsubscr...@googlegroups.com.
To post to this group, send email to django-i18n@googlegroups.com.
Visit this group at https://groups.google.com/group/django-i18n.
For more options, visit https://groups.google.com/d/optout.

Reply via email to