← Back to team overview

openstack team mailing list archive

Re: how to achieve i18n in horizon

 

It generally sounds like you've done the right things... the only thing I can think of offhand might be that if you're running Django through a webserver like Apache, nginx, or gunicorn you'll need to restart your webserver to see the changes take effect.

Some information on what version of Horizon you're running, how you installed it, etc. might be helpful as well...


-          Gabriel

From: openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of yuanke wei
Sent: Wednesday, June 13, 2012 3:47 AM
To: openstack mail list
Subject: [Openstack] how to achieve i18n in horizon

hi,

the problem is as follows:

I changed some translation in horizon/horizon/locale/zh_CN/LC_MESSAGES/django.po,

and then compiled with "django-admin compilemessages -l zh_CN". the django.mo file was successfully generated.

but as I refresh the horizon web page, it seems nothing have changed with the text.



can anyone show me what is the problem and how to achieve i18n in horizon.


thanks!




References