Saturday, August 3, 2013

Re: How to display Chinese in django webpage

Dear Lukas:
    Thank you!

    Cheers :)
    Zhao

在 2013年8月1日星期四UTC+8下午8时51分55秒,Lukáš Němec写道:
Hi

I'd suggest you to contact the developers of Zinnia blog,
they should be able to help you easily

Cheers :)
Lukas

On 08/01/2013 10:50 AM, zhao yan wrote:
HELLO:
    I am a new django user
    I want to display Chinese in my webpage
but it can't


this is my settings.py:
---------------------------------------------

TIME_ZONE = 'Asia/Shanghai'
USE_TZ = True
USE_I18N = True
USE_L10N = True
LANGUAGE_CODE = 'zh-cn'
LANGUAGES = (
    ('zh_CN', gettext('Simplified Chinese')),
    ('en', gettext('English')),
)
----------------------------------------------
    Additional, I using a app "zinnia", all file
are contained:".mo, .po"
    When I run:python manage.py runserver
The webpage is always display English.

    Is it something wrong in settings.py?
 
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate