← Back to team overview

openstack team mailing list archive

Re: change LANGUAGE_CODE config in horizon

 

Yuan Ke, you can set the language in "settings" on the top right of the
dashboard. It seems that the horizon won't be able to save your language
preference into config file. So you have to set it again when you login.

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@xxxxxxxxxx             District, Beijing, P.R.C.100193       
 Notes ID: Hua ZZ Zhang/China/IBM                                            
 Tel: 86-10-82450483                                                         
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             





                                                                           
             yuanke wei                                                    
             <weiyuanke123@gma                                             
             il.com>                                                    To 
             Sent by:                  openstack mail list                 
             openstack-bounces         <openstack@xxxxxxxxxxxxxxxxxxx>     
             +zhuadl=cn.ibm.co                                          cc 
             m@lists.launchpad                                             
             .net                                                  Subject 
                                       [Openstack] change LANGUAGE_CODE    
                                       config in horizon                   
             2012-06-14 10:28                                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




hi,

can anyone show me how to change the LANGUAGE_CODE configuration in
horizon???

I changed LANGUAGE_CODE configuration to "ja"
in horizon/openstack_dashboard/settings.py, and also restarted apache web
server,

but in the template file, such as
"horizon/templates/horizon/auth/_login.html", the value for "LANGUAGE_CODE"
is still "en".

so in order to configure "LANGUAGE_CODE" to "ja", what steps should I
take??


many thanks.


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

GIF image

GIF image

GIF image

GIF image


Follow ups

References