I tested it on my machine and works for me. you need to check your language preference in your web browser(I tested it on Firefox). It seems that Django will also make use of the Request Header of languge to decide the client default language settings. It might be a kind of design which doesn't require storing these preference information in cookie or server side.
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: [email protected] District, Beijing, P.R.C.100193
Notes ID: Hua ZZ Zhang/China/IBM
Tel: 86-10-82450483
yuanke wei
<weiyuanke123@gma
il.com> To
Hua ZZ Zhang/China/IBM@IBMCN
2012-06-14 11:12 cc
openstack mail list
<[email protected]>,
openstack-bounces
[email protected].
net
Subject
Re: [Openstack] change
LANGUAGE_CODE config in horizon
thanks for reply.
>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.
I also noticed that.
so what I want to do is to change the default LANGUAGE_CODE in horizon, but
just modify "settings.py" seems not working
-----------------------------------------------------------------
韦远科
wei yuanke(wei)
gtalk: [email protected]
msn: [email protected]
On Thu, Jun 14, 2012 at 10:41 AM, Hua ZZ Zhang <[email protected]> wrote:
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层
Travel&Transportation Standards 邮编:100193
Emerging Technology Institute Address: 3F Ring, Building 28
(ETI) Zhongguancun Software Park, 8
IBM China Software Development Dongbeiwang West Road, Haidian
Lab District, Beijing, P.R.C.100193
e-mail: [email protected]
Notes ID: Hua ZZ
Zhang/China/IBM
Tel: 86-10-82450483
Inactive hide details for yuanke wei ---2012-06-14 10:33:08---hi, can
anyone show me how to change the LANGUAGE_CODE configuratyuanke wei
---2012-06-14 10:33:08---hi, can anyone show me how to change the
LANGUAGE_CODE configuration in horizon???
yuanke wei <
[email protected]>
Sent by: openstack-bounces
+zhuadl=
[email protected] To
openstack mail
2012-06-14 10:28 list <
[email protected]
aunchpad.net>
cc
Subject
[Openstack]
change
LANGUAGE_CODE
config in horizon
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 : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
(See attached file: pic06945.gif)
<<inline: 5C483438.gif>>
<<inline: ecblank.gif>>
<<inline: graycol.gif>>
<<inline: pic19974.gif>>
<<attachment: pic06945.gif>>
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

