Could SelectDateWidget show chinese?

58 views
Skip to first unread message

forrest yang

unread,
Jan 17, 2014, 12:09:23 PM1/17/14
to django...@googlegroups.com
Just try to use django in a chinese web site.
Is that possilbe to make SelectDateWidget show chinese month name? or is there any other workaround?

Thanks

Russell Keith-Magee

unread,
Jan 17, 2014, 8:40:32 PM1/17/14
to Django Users
Hi Forrest,

All the strings used by SelectDateWidget are translated, so it should just be a matter of setting your active locale to zh_CN (or whatever chinese sub locale is more appropriate to your situation). 

As for how to set your language preference: there are a number of options, depending on what you're trying to achieve:

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bf21d5f0-5974-4017-aac0-8694337192af%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages