[Openstack] how to achieve i18n in horizon

Hua ZZ Zhang zhuadl at cn.ibm.com
Thu Jun 14 02:34:41 UTC 2012


Hi Yuan Ke,

you can try to restart Apache server to reload the new compiled file by
command:  sudo service apache2 restart

Best Regards,

                                                                             
 Edward Zhang(张华)                    地址:北京市海淀区东北旺西路8号 中关村 
 Staff Software Engineer               软件园28号楼 环宇大厦3层 邮编:100193 
 Travel&Transportation Standards       Address: 3F Ring, Building 28         
 Emerging Technology Institute(ETI)    Zhongguancun Software Park, 8         
 IBM China Software Development Lab    Dongbeiwang West Road, Haidian        
 e-mail: zhuadl at cn.ibm.com             District, Beijing, P.R.C.100193       
 Notes ID: Hua ZZ Zhang/China/IBM                                            
 Tel: 86-10-82450483                                                         
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             





                                                                           
             yuanke wei                                                    
             <weiyuanke123 at gma                                             
             il.com>                                                    To 
             Sent by:                  openstack mail list                 
             openstack-bounces         <openstack at lists.launchpad.net>     
             +zhuadl=cn.ibm.co                                          cc 
             m at lists.launchpad                                             
             .net                                                  Subject 
                                       [Openstack] how to achieve i18n in  
                                       horizon                             
             2012-06-13 18:47                                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




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 at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120614/df24bce1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1E641546.gif
Type: image/gif
Size: 1279 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120614/df24bce1/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120614/df24bce1/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120614/df24bce1/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic31264.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120614/df24bce1/attachment-0003.gif>


More information about the Openstack mailing list