← Back to team overview

openstack team mailing list archive

Re: how to achieve i18n in horizon

 

Check if there is a .mo file accordingly to the .po file in horizon/local/zh_CN/LC_MESSAGES/.

If not you may need to run compilemessages command to compile the message file.

-K
On Jun 13, 2012, at 3:47 AM, yuanke wei wrote:

> 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!
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp



References